chore(zsh): add a new alias

This commit is contained in:
Stefan Imhoff
2022-12-23 18:49:38 +01:00
parent 609f113d09
commit 793a6651fb

6
zshrc
View File

@@ -404,6 +404,9 @@ if type nvim > /dev/null 2>&1; then
alias vim='nvim' alias vim='nvim'
fi fi
# Homebrew
alias bi='brew install'
# Tmux # Tmux
alias t='tmux' alias t='tmux'
alias mux="tmuxinator" alias mux="tmuxinator"
@@ -439,6 +442,9 @@ alias flush="dscacheutil -flushcache && killall -HUP mDNSResponder"
# Recursively delete `.DS_Store` files # Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete" alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
# Clear the screen
alias c="clear"
# Empty the Trash on all mounted volumes and the main HDD # Empty the Trash on all mounted volumes and the main HDD
# Also, clear Apples System Logs to improve shell startup speed # Also, clear Apples System Logs to improve shell startup speed
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl" alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"