From 2275a6ee21418179b2b8a99343ca5e78aa976605 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 11 Nov 2020 22:27:45 +0000 Subject: [PATCH] Ignore commands with leading spaces --- roles/home-cli/files/shrc | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index e31d273..0df703a 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -123,6 +123,7 @@ if [ "$ZSH_VERSION" ]; then bindkey "^[[3;5~" delete-char # Ctrl-Del bindkey "^[[3~" delete-char # Del bindkey "^[x" undefined-key # Alt-X + export HIST_IGNORE_SPACE=yes export HISTFILE=$HOME/.zsh_history export HISTSIZE=1000000 export SAVEHIST=1000000