forked from NMAAHC/zshrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc_alias
25 lines (23 loc) · 883 Bytes
/
zshrc_alias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# new aliases
alias -g ll="ls -lahG"
alias -g ls='ls -1'
alias -g home='cd ~'
alias -g up='cd ..'
alias -g h='history'
# command option aliases
# alias -g mv='mv -iv'
# alias -g cp='cp -iv'
# alias -g rm='rm -iv'
alias -g df='df -h'
alias -g du='du -h'
alias -g mkdir='mkdir -p'
alias -g diffy='diff -y --suppress-common-lines --width=250'
alias -g showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias -g hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
alias -g brewUp='brew update && brew upgrade && brew doctor && brew cleanup'
alias -g treeL='tree -RapugD --si --du'
alias -g ga="git add --all"
alias -g gc="git commit --all"
alias -g gst="git status"
alias -g text='open -a textedit'
alias -g code='open -a Visual\ Studio\ Code'