PS1 : Disable SHLVL.
This commit is contained in:
parent
fa2ad42ecf
commit
cb9fc521ac
|
@ -88,8 +88,8 @@ in {
|
|||
# Show nix shell name or shell depth.
|
||||
if [ -n "''${SHELL_NAME}" ]; then
|
||||
PS1+="''${SHELL_NAME} "
|
||||
elif [[ "''${SHLVL}" -gt "''${SHLVLMIN}" ]]; then
|
||||
PS1+="($((''${SHLVL} - ''${SHLVLMIN}))) "
|
||||
# elif [[ "''${SHLVL}" -gt "''${SHLVLMIN}" ]]; then
|
||||
# PS1+="($((''${SHLVL} - ''${SHLVLMIN}))) "
|
||||
fi
|
||||
|
||||
# Show remote connections.
|
||||
|
|
Loading…
Reference in a new issue