zsh-users
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Paul Ackersviller <pda@rogers.com>
Cc: zsh-users@sunsite.dk
Subject: Re: History
Date: Tue, 10 Sep 2002 14:52:05 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0209101447270.23968-100000@scuzzy.blorf.net> (raw)
In-Reply-To: <20020910205004.GB15225@msi.ld>

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..


  reply	other threads:[~2002-09-10 21:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-10 17:30 History GoTaR
2002-09-10 19:25 ` History Paul Lew
2002-09-10 20:50   ` History Paul Ackersviller
2002-09-10 21:52     ` Wayne Davison [this message]
2002-09-11  5:39   ` History GoTaR
2002-09-11  9:28     ` History Bart Schaefer
2002-09-11 11:42       ` History GoTaR
2002-09-11 18:05         ` History Roman Neuhauser
2002-09-14 21:22         ` History Bart Schaefer
     [not found]           ` <20020915083631.GA334@os>
2002-09-16  6:08             ` History Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
1997-11-07 19:43 History Robert Vukovic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0209101447270.23968-100000@scuzzy.blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=pda@rogers.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).