aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvulonkaaz <7442677+vulonkaaz@users.noreply.github.com>2024-11-19 05:10:55 +0100
committervulonkaaz <7442677+vulonkaaz@users.noreply.github.com>2024-11-19 05:10:55 +0100
commit4536ee7343a4099b2156c44fdca4257dea950aa8 (patch)
tree605d7e444a3d06189a367e47ec87a7c38de27c5e
parent116538efc30d65af2d8f28439379b09ab6df69a8 (diff)
add HIST_IGNORE_SPACE to zshrc
-rw-r--r--zshrc_example4
1 files changed, 2 insertions, 2 deletions
diff --git a/zshrc_example b/zshrc_example
index 319166d..5ce7453 100644
--- a/zshrc_example
+++ b/zshrc_example
@@ -1,10 +1,10 @@
-# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt autocd beep extendedglob nomatch
+# start command with a space to prevent it from saving to histfile :
+setopt HIST_IGNORE_SPACE
bindkey -v
-# End of lines configured by zsh-newuser-install
autoload -Uz compinit promptinit
compinit
promptinit