From 8c1cafafeb7d79d512d16bd3fe258b2569f5406c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 13 Oct 2011 01:39:43 +0200 Subject: [PATCH] zsh/rc: Set histignorespace. --- zsh/rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/rc b/zsh/rc index 4626513..5e2c06c 100644 --- a/zsh/rc +++ b/zsh/rc @@ -112,6 +112,8 @@ setopt appendhistory setopt incappendhistory # If the same command is run multiple times store it only once in the history. setopt histignoredups +# Don't add lines starting with a space to the history. +setopt histignorespace # Vim like completions of previous executed commands (also enter Vi-mode). If # called at the beginning it just recalls old commands (like cursor up), if # called after typing something, only lines starting with the typed text are -- 2.45.2