Fix nix shell indicator
This commit is contained in:
parent
f971a392fc
commit
c78f18c942
1 changed files with 2 additions and 2 deletions
|
@ -49,9 +49,9 @@
|
||||||
ZSH_TMUX_CONFIG=/etc/tmux.conf
|
ZSH_TMUX_CONFIG=/etc/tmux.conf
|
||||||
'';
|
'';
|
||||||
promptInit = ''
|
promptInit = ''
|
||||||
if [ "$SHLVL" "!= 1" ]; then
|
if [ "$SHLVL" != 1 ]; then
|
||||||
setopt PROMPT_SUBST
|
setopt PROMPT_SUBST
|
||||||
RPROMPT+='[depth-$\{SHLVL\}]'
|
RPROMPT+='[depth-''${SHLVL}]'
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue