Prevent commands prefixed with space from history

Prevent commands prefixed with spaces from being put into the history.
This commit is contained in:
finga 2021-11-15 13:52:22 +01:00
parent c850cd7507
commit 34a6ec7a86

3
.zshrc
View file

@ -14,6 +14,9 @@ setopt appendhistory beep nomatch notify autocd histignoredups correct autopushd
# emacs keybindings
bindkey -e
# do not put commands prefixed with space into history
setopt hist_ignore_space
# Prevent need to reset terminal
ttyctl -f