mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 05:44:22 +08:00
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.
This commit is contained in:
1 parent
6774490a46
commit
edc8e3d092
1 file changed
+1
@@ -10,6 +10,7 @@ setopt hist_verify
|
|||||||
setopt inc_append_history
|
setopt inc_append_history
|
||||||
setopt extended_history
|
setopt extended_history
|
||||||
setopt hist_expire_dups_first
|
setopt hist_expire_dups_first
|
||||||
|
setopt hist_ignore_space
|
||||||
|
|
||||||
setopt SHARE_HISTORY
|
setopt SHARE_HISTORY
|
||||||
setopt APPEND_HISTORY
|
setopt APPEND_HISTORY
|
||||||
Reference in new issue
Block a user