From: Simon Ruderich Date: Wed, 12 Oct 2011 23:39:43 +0000 (+0200) Subject: zsh/rc: Set histignorespace. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=8c1cafafeb7d79d512d16bd3fe258b2569f5406c;p=config%2Fdotfiles.git zsh/rc: Set histignorespace. --- 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