diff options
| author | Marlon Richert <marlon.richert@gmail.com> | 2021-09-06 13:45:36 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@ipost.com> | 2021-09-06 13:47:10 -0700 |
| commit | 1508dc7486636edcb54e81f6a2fcf0faf180c7fa (patch) | |
| tree | cdab91cbac7e0c0b1268111ab0266173b11a4da7 /Functions/Misc/run-help-git | |
| parent | unposted (cf. 49202 and 49217): insertlastword ignores blank/missing history ... (diff) | |
| download | zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar.gz zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar.bz2 zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar.lz zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar.xz zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar.zst zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.zip | |
49218: run-help filters cmd_args before calling run-help-<command>
Diffstat (limited to 'Functions/Misc/run-help-git')
| -rw-r--r-- | Functions/Misc/run-help-git | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Functions/Misc/run-help-git b/Functions/Misc/run-help-git index ce94d0d02..a841f89d6 100644 --- a/Functions/Misc/run-help-git +++ b/Functions/Misc/run-help-git @@ -1,9 +1 @@ -if [ $# -eq 0 ]; then - man git -else - local al - if al=$(git config --get "alias.$1"); then - 1=${al%% *} - fi - man git-$1 -fi +git help ${1:-git} |
