Browse Source

Ignore commands that start with a space.

This is useful when you want to use a dangerous command, as it won't be
available with history searching.
James Rowe 14 years ago
parent
commit
edc8e3d092
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/history.zsh

+ 1 - 0
lib/history.zsh

@@ -10,6 +10,7 @@ setopt hist_verify
 setopt inc_append_history
 setopt extended_history
 setopt hist_expire_dups_first
+setopt hist_ignore_space
 
 setopt SHARE_HISTORY
 setopt APPEND_HISTORY