helm/os/macos/aliases.zsh
2016-10-19 16:56:37 +02:00

17 lines
401 B
Bash

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'
# 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"