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

Re: have run-help not put itself in history?



Greg Klanderman wrote:
> Is there some way to have run-help not put itself into the history?

  zshaddhistory() {
    [[ $1 != run-help\ * ]]    
  }

but note that it's always there as the immediately previous command for
reexecuting; it only gets removed when the following command is saved.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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