Make eject function case-insensitive

main
Alpha Chen 9 years ago committed by Alpha Chen
parent bb44c92a9b
commit 10263f90fe
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