Skip to content

Commit 64f6512

Browse files
Merge branch 'main' into main
2 parents 5c5394c + 5cff41e commit 64f6512

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

.bashrc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
iatest=$(expr index "$-" i)
33

44
#######################################################
5-
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
5+
# SOURCED ALIASES AND SCRIPTS BY zachbrowne.me
66
#######################################################
77
if [ -f /usr/bin/fastfetch ]; then
88
fastfetch
@@ -93,22 +93,22 @@ export LESS_TERMCAP_ue=$'\E[0m'
9393
export LESS_TERMCAP_us=$'\E[01;32m'
9494

9595
#######################################################
96-
# MACHINE SPECIFIC ALIAS'S
96+
# MACHINE SPECIFIC ALIASES
9797
#######################################################
9898

99-
# Alias's for SSH
99+
# aliases for SSH
100100
# alias SERVERNAME='ssh YOURWEBSITE.com -l USERNAME -p PORTNUMBERHERE'
101101

102-
# Alias's to change the directory
102+
# aliases to change the directory
103103
alias web='cd /var/www/html'
104104

105-
# Alias's to mount ISO files
105+
# aliases to mount ISO files
106106
# mount -o loop /home/NAMEOFISO.iso /home/ISOMOUNTDIR/
107107
# umount /home/NAMEOFISO.iso
108108
# (Both commands done as root only.)
109109

110110
#######################################################
111-
# GENERAL ALIAS'S
111+
# GENERAL ALIASES
112112
#######################################################
113113
# To temporarily bypass an alias, we precede the command with a \
114114
# EG: the ls command is aliased, but to use the normal ls command you would type \ls
@@ -126,7 +126,7 @@ alias hlp='less ~/.bashrc_help'
126126
# alias to show the date
127127
alias da='date "+%Y-%m-%d %A %T %Z"'
128128

129-
# Alias's to modified commands
129+
# aliases to modified commands
130130
alias cp='cp -i'
131131
alias mv='mv -i'
132132
alias rm='trash -v'
@@ -157,7 +157,7 @@ alias bd='cd "$OLDPWD"'
157157
# Remove a directory and all files
158158
alias rmd='/bin/rm --recursive --force --verbose '
159159

160-
# Alias's for multiple directory listing commands
160+
# aliases for multiple directory listing commands
161161
alias la='ls -Alh' # show hidden files
162162
alias ls='ls -aFh --color=always' # add colors and file type extensions
163163
alias lx='ls -lXBh' # sort by extension
@@ -203,19 +203,19 @@ alias checkcommand="type -t"
203203
# Show open ports
204204
alias openports='netstat -nape --inet'
205205

206-
# Alias's for safe and forced reboots
206+
# aliases for safe and forced reboots
207207
alias rebootsafe='sudo shutdown -r now'
208208
alias rebootforce='sudo shutdown -r -n now'
209209

210-
# Alias's to show disk space and space used in a folder
210+
# aliases to show disk space and space used in a folder
211211
alias diskspace="du -S | sort -n -r |more"
212212
alias folders='du -h --max-depth=1'
213213
alias folderssort='find . -maxdepth 1 -type d -print0 | xargs -0 du -sk | sort -rn'
214214
alias tree='tree -CAhF --dirsfirst'
215215
alias treed='tree -CAFd'
216216
alias mountedinfo='df -hT'
217217

218-
# Alias's for archives
218+
# aliases for archives
219219
alias mktar='tar -cvf'
220220
alias mkbz2='tar -cvjf'
221221
alias mkgz='tar -cvzf'

setup.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,11 @@ install_font() {
164164
FONT_DIR="$HOME/.local/share/fonts"
165165
if wget -q --spider "$FONT_URL"; then
166166
TEMP_DIR=$(mktemp -d)
167-
wget -q "$FONT_URL" -O "$TEMP_DIR/${FONT_NAME}.zip"
168-
unzip "$TEMP_DIR/${FONT_NAME}.zip" -d "$TEMP_DIR"
169-
mkdir -p "$FONT_DIR/$FONT_NAME"
170-
mv "${TEMP_DIR}"/*.ttf "$FONT_DIR/$FONT_NAME"
167+
wget -q $FONT_URL -O "$TEMP_DIR"/"${FONT_NAME}".zip
168+
unzip "$TEMP_DIR"/"${FONT_NAME}".zip -d "$TEMP_DIR"
169+
mkdir -p "$FONT_DIR"/"$FONT_NAME"
170+
mv "${TEMP_DIR}"/*.ttf "$FONT_DIR"/"$FONT_NAME"
171+
# Update the font cache
171172
fc-cache -fv
172173
rm -rf "${TEMP_DIR}"
173174
printf "'%s' installed successfully.\n" "$FONT_NAME"

starship.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ format = '[ $symbol ($version) ]($style)'
6262
[docker_context]
6363
symbol = ""
6464
style = "bg:#06969A"
65-
format = '[ $symbol $context ]($style) $path'
65+
format = '[ $symbol $context ]($style)$path'
6666

6767
[elixir]
6868
symbol = ""

0 commit comments

Comments
 (0)