From 4536ee7343a4099b2156c44fdca4257dea950aa8 Mon Sep 17 00:00:00 2001 From: vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> Date: Tue, 19 Nov 2024 05:10:55 +0100 Subject: add HIST_IGNORE_SPACE to zshrc --- zshrc_example | 4 ++-- 1 file 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 -- cgit v1.2.3