zsh-users
 help / color / mirror / code / Atom feed
From: "İsmail Dönmez" <ismail@donmez.ws>
To: Zsh Users <zsh-users@zsh.org>
Subject: Hiding command from history
Date: Tue, 3 Feb 2015 13:29:34 +0200	[thread overview]
Message-ID: <CAJ1KOAhqLnoAci_NdeCSi6LQvG0VoV0+XXEVLAE7_TrEpbsokQ@mail.gmail.com> (raw)

Hi,

I know I can set HIST_IGNORE_SPACE and any command starting with space
will not be logged in history. But with that I have many aliases like

alias ls=" ls"
alias mv=" mv"

etc. So, I wonder if there is an easier way to blacklist multiple
commands from history without creating an alias for each of them?

Thanks!


             reply	other threads:[~2015-02-03 11:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 11:29 İsmail Dönmez [this message]
2015-02-03 12:13 ` Peter Stephenson
2015-02-03 12:34   ` İsmail Dönmez
2015-02-03 12:47     ` Peter Stephenson
2015-02-03 13:06       ` İsmail Dönmez
2015-02-03 13:49         ` İsmail Dönmez
2015-02-03 14:02           ` Peter Stephenson
2015-02-03 14:07             ` İsmail Dönmez
2015-02-03 16:39             ` Peter Stephenson
2015-02-03 12:37   ` Peter Stephenson
2015-02-04 17:35     ` Bart Schaefer

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=CAJ1KOAhqLnoAci_NdeCSi6LQvG0VoV0+XXEVLAE7_TrEpbsokQ@mail.gmail.com \
    --to=ismail@donmez.ws \
    --cc=zsh-users@zsh.org \
    /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).