helm/os/+macos/aliases.zsh
2017-04-25 23:29:43 -04:00

17 lines
438 B
Bash

alias ls="gls --color=auto --group-directories-first"
alias date='gdate'
alias y='pbcopy'
alias p='pbpaste'
alias br='brew'
alias bru='brew update && brew upgrade && 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"