From e7e599fef1dbe77aba4c1e862bf32421accdb728 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 16 Dec 2024 08:56:26 -0800 Subject: [PATCH] Omit commands from history that start with a space --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index c9d2971..ac2e1c4 100755 --- a/zshrc +++ b/zshrc @@ -154,6 +154,7 @@ setopt histfindnodups # backwards search produces diff result each time setopt histreduceblanks # compact consecutive white space chars (cool) setopt histnostore # don't store history related functions setopt incappendhistory # incrementally add items to HISTFILE +setopt histignorespace # omit from history commands that start with a space ### Job Control # ----------------