From b299e40e3a77e1a05ccae36896061c06c2a205d1 Mon Sep 17 00:00:00 2001 From: materus Date: Sat, 30 Mar 2024 21:23:50 +0100 Subject: [PATCH] home-profile: zsh change private mode --- configurations/profile/home/shell/zsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configurations/profile/home/shell/zsh.nix b/configurations/profile/home/shell/zsh.nix index ffca441..c3f43c3 100644 --- a/configurations/profile/home/shell/zsh.nix +++ b/configurations/profile/home/shell/zsh.nix @@ -144,6 +144,7 @@ in '' + makeIfVar "__MATERUS_HM_ZSH_PRIVATE" "1" '' unset HISTFILE ${lib.optionalString config.programs.zsh.history.share "unsetopt SHARE_HISTORY"} + alias -- 'zsh'="__MATERUS_HM_ZSH_PRIVATE=0 zsh " '' ;