From 1e00e2fe70745abb6a0dfaba5da0f71f498cdf1d Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sat, 19 Mar 2016 17:10:47 -0700 Subject: [PATCH] Make eject function case-insensitive --- runcoms/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"