Ignore commands with leading spaces

This commit is contained in:
Anthony Rose 2020-11-11 22:27:45 +00:00
parent 87747e8590
commit 2275a6ee21

View file

@ -123,6 +123,7 @@ if [ "$ZSH_VERSION" ]; then
bindkey "^[[3;5~" delete-char # Ctrl-Del bindkey "^[[3;5~" delete-char # Ctrl-Del
bindkey "^[[3~" delete-char # Del bindkey "^[[3~" delete-char # Del
bindkey "^[x" undefined-key # Alt-X bindkey "^[x" undefined-key # Alt-X
export HIST_IGNORE_SPACE=yes
export HISTFILE=$HOME/.zsh_history export HISTFILE=$HOME/.zsh_history
export HISTSIZE=1000000 export HISTSIZE=1000000
export SAVEHIST=1000000 export SAVEHIST=1000000