diff --git a/home/program/bash/default.nix b/home/program/bash/default.nix index 5a6d736..40467e1 100644 --- a/home/program/bash/default.nix +++ b/home/program/bash/default.nix @@ -14,11 +14,6 @@ in { export -f $(find_function | tr '\n' ' ') export -f find_function - # Nested shell indicator support. - if [ -z ''${SHLVLMIN} ]; then - export SHLVLMIN=''${SHLVL} - fi - # Autostart Sway. if [[ -z $DISPLAY ]] && [[ "$(tty)" = "/dev/tty1" ]]; then exec sway diff --git a/home/program/bash/module/Ps1.nix b/home/program/bash/module/Ps1.nix index 1817f1f..d29b689 100644 --- a/home/program/bash/module/Ps1.nix +++ b/home/program/bash/module/Ps1.nix @@ -88,8 +88,6 @@ in { # Show nix shell name or shell depth. if [ -n "''${SHELL_NAME}" ]; then PS1+="''${SHELL_NAME} " - # elif [[ "''${SHLVL}" -gt "''${SHLVLMIN}" ]]; then - # PS1+="($((''${SHLVL} - ''${SHLVLMIN}))) " fi # Show remote connections.