From cb9fc521acd08096344ce5a57766937c894da7c4 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 30 Sep 2024 14:07:50 +0300 Subject: [PATCH] PS1 : Disable SHLVL. --- home/program/bash/module/Ps1.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/program/bash/module/Ps1.nix b/home/program/bash/module/Ps1.nix index 5dc49d92..1817f1f0 100644 --- a/home/program/bash/module/Ps1.nix +++ b/home/program/bash/module/Ps1.nix @@ -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.