helm/os/macos/aliases.zsh
2016-12-16 22:26:34 -05:00

18 lines
424 B
Bash

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'
alias localip="ipconfig getifaddr en1"
# 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"