diff --git a/runcoms/zshrc b/runcoms/zshrc index b59e0cd..4d80329 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -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"