mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
chore(zsh): add a new alias
This commit is contained in:
6
zshrc
6
zshrc
@@ -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 Apple’s System Logs to improve shell startup speed
|
# Also, clear Apple’s 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user