diff options
-rw-r--r-- | etc/sh/rc | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -166,17 +166,11 @@ shell_status_level() { return fi - if [ -n "${TMUX:-}" ]; then - LVL=$((SHLVL - 1)) - else - LVL="$SHLVL" - fi - - if [ "$LVL" = 1 ]; then + if [ "$SHLVL" = 1 ]; then return fi - color -c white "$LVL" + color -c white "$SHLVL" if [ -n "${RANGER_LEVEL:-}" ]; then color -c white '|' color -c bluei 'r' |