Avoid logging space prefixed commands to hist file like qrcode

This commit is contained in:
don philipe
2025-01-03 15:16:10 +01:00
parent 5db8c17379
commit f303f1aa1d
2 changed files with 4 additions and 1 deletions

1
.zshrc
View File

@@ -82,6 +82,7 @@ source $ZSH/oh-my-zsh.sh
setopt appendhistory autocd extendedglob
setopt GLOB_COMPLETE
setopt HIST_IGNORE_SPACE # ignore command lines when first character is a space
unsetopt beep
### Enter Vim-Mode ###