Add function for ejecting mounts

Alpha Chen 9 years ago committed by Alpha Chen
parent 945d853bd9
commit 74c605c76d

@ -23,4 +23,6 @@ bindkey "\en" history-beginning-search-forward
alias be='bundle exec'
alias tat='tmux new-session -As `basename $PWD`'
function eject { command hdiutil eject `df | grep Volumes | grep "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; }
[[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local"

Loading…
Cancel
Save