From: Samir Benmendil Date: Thu, 27 Dec 2018 16:02:53 +0000 (+0000) Subject: zsh: chain run-help call when using sudo X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/1a914da7eab0211a29f6457bb1cecc27891988b0 zsh: chain run-help call when using sudo This overrides upstreams run-help-sudo. Patch has been submitted -> delete this when merged. --- diff --git a/zsh/functions/run-help-sudo b/zsh/functions/run-help-sudo new file mode 100644 index 0000000..8425668 --- /dev/null +++ b/zsh/functions/run-help-sudo @@ -0,0 +1,7 @@ +if [ $# -eq 0 ]; then + man sudo +else + run-help $1 +fi + +