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

Re: Hiding command from history



On Tue, Feb 3, 2015 at 2:47 PM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> and indeed there's no reason I can think of why you couldn't simply
> define
>
> zshaddhistory() { [[ $1 = ${~HISTORY_IGNORE} ]] && return 1; }

This is quite nice. Thanks!



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