zsh/Functions/Misc/run-help-git
2008-02-07 02:07:59 +00:00

10 lines
144 B
Plaintext

if [ $# -eq 0 ]; then
man git
else
local al
if al=$(git config --get "alias.$1"); then
1=${al%% *}
fi
man git-$1
fi