From: Mike Frysinger Date: Thu, 16 Aug 2012 18:22:33 +0000 (-0400) Subject: filter out options to expanded commands X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=112339884cc46f07b3e8ad30c0022565d32364a7;p=home.git filter out options to expanded commands --- diff --git a/.bin/r b/.bin/r index 6496e1d..08edfe2 100755 --- a/.bin/r +++ b/.bin/r @@ -16,7 +16,7 @@ s) *) cmd=$1 shift - acmd=$(git config --get "alias.${cmd}") + acmd=$(git config --get "alias.${cmd}" | sed 's: -.*::') ;; esac