home-profile: zsh change private mode

This commit is contained in:
Mateusz Słodkowicz 2024-03-30 21:23:50 +01:00
parent 8691fcd211
commit b299e40e3a
Signed by: materus
SSH Key Fingerprint: SHA256:rzVduzTiiszuYfLPYD0SDZV+g8lxhpcRgpbOZA1X0Uo
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ in
'' + makeIfVar "__MATERUS_HM_ZSH_PRIVATE" "1" '' '' + makeIfVar "__MATERUS_HM_ZSH_PRIVATE" "1" ''
unset HISTFILE unset HISTFILE
${lib.optionalString config.programs.zsh.history.share "unsetopt SHARE_HISTORY"} ${lib.optionalString config.programs.zsh.history.share "unsetopt SHARE_HISTORY"}
alias -- 'zsh'="__MATERUS_HM_ZSH_PRIVATE=0 zsh "
'' ''
; ;