Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to fix run-help-* functions?



On Tue, 2023-03-07 at 15:30 +0100, Michele Venturi wrote:
> Just try "autoload run-help-sudo; run-help sudo" or "autoload run-
> help-git; run-help git" etc. to see the error.

What's wrong with run-help?

   % zsh -f
   % echo $ZSH_VERSION                    
   5.8.1
   % export PAGER='head -n 5'
   % autoload run-help-git; run-help git
   GIT(1)                            Git Manual                            GIT(1)
   
   NAME
          git - the stupid content tracker
   
   % autoload run-help-sudo; run-help sudo
   SUDO(8)                   BSD System Manager's Manual                  SUDO(8)
   
   NAME
        sudo, sudoedit — execute a command as another user
   
   % 

Phil.




Messages sorted by: Reverse Date, Date, Thread, Author