Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: History
- X-seq: zsh-users 5339
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Paul Ackersviller <pda@xxxxxxxxxx>
- Subject: Re: History
- Date: Tue, 10 Sep 2002 14:52:05 -0700 (PDT)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20020910205004.GB15225@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
After setting the HIST_IGNORE_SPACE option, you can also define aliases
that represent commands that won't ever get stored in the history:
just define the alias expansion with a leading space.
For example, if you never want a "cd" command to appear in the history,
do this:
setopt HIST_IGNORE_SPACE
alias cd=' builtin cd'
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author