From 598d1900840d29f8f714fd33a85871e373d2694d Mon Sep 17 00:00:00 2001 From: arcnmx Date: Thu, 21 Mar 2024 08:35:16 -0700 Subject: [PATCH] chore(nixos): add to `$HISTORY_IGNORE` --- nixos/base/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/base/shell.nix b/nixos/base/shell.nix index eab29847..1273c4db 100644 --- a/nixos/base/shell.nix +++ b/nixos/base/shell.nix @@ -6,7 +6,7 @@ setopt autocd setopt HIST_IGNORE_DUPS setopt HIST_IGNORE_SPACE - HISTORY_IGNORE="(*^C*|:*|/*|~*|.*)" + HISTORY_IGNORE="(*^C*|:*|/*|~*|.(/*|./*|.)|(sudo |)(ls|cd)( *|))" ''; }; programs.bash = {