1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-22 00:21:27 +01:00
zsh/Functions/Misc/run-help-git

10 lines
144 B
Text
Raw Normal View History

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