From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23743 invoked from network); 10 Sep 2002 21:55:18 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Sep 2002 21:55:18 -0000 Received: (qmail 23899 invoked by alias); 10 Sep 2002 21:55:01 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5339 Received: (qmail 23877 invoked from network); 10 Sep 2002 21:55:00 -0000 Date: Tue, 10 Sep 2002 14:52:05 -0700 (PDT) From: Wayne Davison X-X-Sender: wayne@scuzzy.blorf.net To: Paul Ackersviller Cc: zsh-users@sunsite.dk Subject: Re: History In-Reply-To: <20020910205004.GB15225@msi.ld> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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..