From 1f3b893bbb07fe393f9d226dc122eb5541e5f733 Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Tue, 16 Nov 2021 09:41:21 +0100 Subject: [PATCH] Remove commands starting with space from history --- zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 663bfa1..6bc8ca0 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -14,6 +14,7 @@ export PATH="$HOME/.local/bin:$PATH" # Load Antigen setopt interactivecomments +setopt HIST_IGNORE_SPACE source ~/.zsh/antigen/antigen.zsh # Clear screen by ctrl+q