commit eca1df01f9ba2790ebff9f28c2686596a6efef50
parent 1bf0d122db7638f73a0b836afcfb7bc37f0eb88e
Author: Sven Möller <sven-moeller@outlook.de>
Date: Tue, 11 Jan 2022 14:52:58 +0100
No screen inside other screen/tmux session
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bash/.profile b/bash/.profile
@@ -12,6 +12,6 @@ git -C ~/.dotfiles pull
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
startx
-elif [ "$(uname -o)" != "Android" ]; then
+elif [ -z "$STY" ] && [ -z "$TMUX" ] && [ "$(uname -o)" != "Android" ]; then
screen -dRR && exit
fi