Make eject function case-insensitive

Alpha Chen 9 years ago committed by Alpha Chen
parent fb2335b2ec
commit 65c27af5bb

@ -24,6 +24,6 @@ alias be='bundle exec'
alias tat='tmux new-session -As `basename $PWD`'
alias plz='sudo'
function eject { command hdiutil eject `df | grep Volumes | grep "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; }
function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; }
[[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local"

Loading…
Cancel
Save