From 51150c82ec8eedc296d7912e783683bb3e7b0ca0 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Thu, 17 Sep 2015 06:58:56 -0700 Subject: [PATCH] Add a "plz" alias for "sudo" --- runcoms/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/runcoms/zshrc b/runcoms/zshrc index 9e518ad..b59e0cd 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -22,6 +22,7 @@ bindkey "\en" history-beginning-search-forward 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 $_[/^[^ ]*/]'`; }