Make eject function case-insensitive

Alpha Chen 9 years ago committed by Alpha Chen
parent f5036d011d
commit 1e00e2fe70
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -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