Fix nix shell indicator

This commit is contained in:
Vili Sinervä 2025-06-01 19:05:43 +03:00
parent f971a392fc
commit c78f18c942
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos

View file

@ -49,9 +49,9 @@
ZSH_TMUX_CONFIG=/etc/tmux.conf
'';
promptInit = ''
if [ "$SHLVL" "!= 1" ]; then
if [ "$SHLVL" != 1 ]; then
setopt PROMPT_SUBST
RPROMPT+='[depth-$\{SHLVL\}]'
RPROMPT+='[depth-''${SHLVL}]'
fi
'';
};