diff --git a/runcoms/zshrc b/runcoms/zshrc index acf38fc..9e518ad 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -23,4 +23,6 @@ bindkey "\en" history-beginning-search-forward alias be='bundle exec' alias tat='tmux new-session -As `basename $PWD`' +function eject { command hdiutil eject `df | grep Volumes | grep "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; } + [[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local"