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