forked from startup-class/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.aliases_osx
32 lines (26 loc) · 888 Bytes
/
.aliases_osx
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
26
27
28
29
30
31
# Show and hide hidden files in Finder
alias hhf="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder"
alias shf="defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder"
# Shortcuts
alias d='cd ~/Dropbox'
alias c='cd ~/code'
alias g='git'
alias h='history'
alias v='vi'
alias o='open'
alias t='todo.sh -d ~/.todo.cfg'
# Homebrew
alias bup='brew update && brew upgrade'
alias bout='brew outdated'
alias bin='brew install'
alias brm='brew uninstall'
alias bls='brew list'
alias bsr='brew search'
alias binf='brew info'
alias bdr='brew doctor'
# Get OS X Software Updates, and update installed Homebrew packages
alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup;'
# Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
# Gzip-enabled `curl`
alias gurl='curl --compressed'