From 17bc6ef41b211b13579698d7216b80256ed6fa53 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sun, 17 Mar 2024 14:14:16 -0400 Subject: [PATCH] adds: option to ingnore commands that start with a space to be ignored in shell history --- yabai/yabairc | 1 + zsh/config/.zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/yabai/yabairc b/yabai/yabairc index 38677b5..4df1061 100755 --- a/yabai/yabairc +++ b/yabai/yabairc @@ -39,5 +39,6 @@ yabai -m rule --add app="^System Settings$" manage=off yabai -m rule --add app="^Archive Utility$" manage=off yabai -m rule --add app="^Logi Options$" manage=off yabai -m rule --add app="^Music$" manage=off +yabai -m rule --add app="^pwSafe$" manage=off echo "yabai configuration loaded.." diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index e342543..b745316 100644 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -81,6 +81,7 @@ setopt hist_expire_dups_first # expire duplicates first setopt hist_ignore_dups # do not store duplicates setopt hist_find_no_dups # ignore duplicates when searching setopt hist_reduce_blanks # do not store blank lines. +setopt histignorespace # do not store commands that start with a space in history export HISTSIZE=5000 export HISTFILESIZE=10000