From 935da20ddf945105776d4d80ae6238ef483b88c7 Mon Sep 17 00:00:00 2001 From: madumlao Date: Sun, 16 Jun 2024 18:18:11 +0800 Subject: [PATCH] Add HIST_IGNORE_SPACE --- skel/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/skel/.zshrc b/skel/.zshrc index 0a2d6a4..258667b 100644 --- a/skel/.zshrc +++ b/skel/.zshrc @@ -71,6 +71,7 @@ SAVEHIST=$HISTSIZE setopt BANG_HIST # Treat the '!' character specially during expansion. setopt HIST_BEEP # Beep when accessing nonexistent history. setopt HIST_LEX_WORDS # parse quotes when parsing history +setopt HIST_IGNORE_SPACE # dont save commands starting with space # set GPG_TTY if [ "$GPG_TTY" = "" ]; then