diff options
author | EuAndreh <eu@euandre.org> | 2023-03-11 19:30:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-11 19:30:39 -0300 |
commit | 00cde332501b644374190aab1aee42fadf722e5d (patch) | |
tree | f5d9d0bf9ba2ab40c62b6d4b4ba83b78f75726a0 | |
parent | etc/ssh/: Add zh3051.rsync.net key and host alias (diff) | |
download | dotfiles-00cde332501b644374190aab1aee42fadf722e5d.tar.gz dotfiles-00cde332501b644374190aab1aee42fadf722e5d.tar.xz |
etc/sh/rc: Remove special handling of $TMUX in $PS1
-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' |