helm/os/macos/aliases.zsh

19 lines
441 B
Bash
Raw Normal View History

2016-10-19 07:56:37 -07:00
alias ls='ls -G'
alias ls="${aliases[ls]:-ls} -G"
alias date='gdate'
alias y='pbcopy'
alias p='pbpaste'
alias br='brew'
alias bru='brew update && brew upgrade --all && brew cleanup'
alias brc='brew cask'
2016-11-04 17:54:47 -07:00
alias localip="ipconfig getifaddr en1"
2016-10-19 07:56:37 -07:00
# OS X has no `md5sum`, so use `md5` as a fallback
is-callable md5sum || alias md5sum="md5"
# OS X has no `sha1sum`, so use `shasum` as a fallback
is-callable sha1sum || alias sha1sum="shasum"