From 6cf7db5461858d7f70cc98cd69d9664f398049cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sun, 7 Feb 2021 21:30:38 +0100 Subject: [PATCH] fix if --- myshell_load_defaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myshell_load_defaults b/myshell_load_defaults index 5e5fbf5..7d922e8 100644 --- a/myshell_load_defaults +++ b/myshell_load_defaults @@ -88,7 +88,7 @@ if ! $SSHS; then logwarn "tmux@${USER}: $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? )" if test $SSH_TTY; then logwarn "im remote" - if test ! $TMUX && $TERM != screen; then + if test ! $TMUX && test $TERM != screen; then logwarn "no screen" if test $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? ) -eq 0; then logwarn "tmux@${USER} is running"