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

Re: History



On Wed, Sep 11, 2002 at 09:28:46 +0000, Bart Schaefer wrote:

> } >     GoTaR> How to make history not to remember some commands, like
> }
> } cd "`echo '\0057...'`"
> }
> } and it's being called from Midnight Commander when switching panels.
>
> This is exactly the same question you asked back on July 11th, and the
> answer hasn't changed:
[...]
> Using the setopt and the alias -should- work with Midnight Commander.

Yes, it works and removes _all_ 'cd' commands. I want to remove only
these, which match pattern 'cd "`echo .*`"'.
So removing from history is possible only by leading space, not by
configurable pattern, is it right? :/

-- 
GoTaR <gotar@xxxxxxxxxxxxx>		USA sux
	...Dżahilijja... znowu? Nadal...
PLD stuff at http://mops.uci.agh.edu.pl/~gotar/



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