about summary refs log tree commit diff
path: root/Functions/Misc/run-help-git
blob: 51c6e250c156f948e9d5c393ead0801f74ba4e08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/zsh
if [ $# -eq 0 ]; then
    man git
else
    local al
    if al=$(git config --get "alias.$1"); then
        1=${al%% *}
    fi
    man git-$1
fi