Prevent commands prefixed with space from history
Prevent commands prefixed with spaces from being put into the history.
This commit is contained in:
parent
c850cd7507
commit
34a6ec7a86
1 changed files with 3 additions and 0 deletions
3
.zshrc
3
.zshrc
|
@ -14,6 +14,9 @@ setopt appendhistory beep nomatch notify autocd histignoredups correct autopushd
|
||||||
# emacs keybindings
|
# emacs keybindings
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
|
||||||
|
# do not put commands prefixed with space into history
|
||||||
|
setopt hist_ignore_space
|
||||||
|
|
||||||
# Prevent need to reset terminal
|
# Prevent need to reset terminal
|
||||||
ttyctl -f
|
ttyctl -f
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue