aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/profile.d/welcome.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/profile.d/welcome.sh b/sh/profile.d/welcome.sh
index 22cdde93..16eff541 100644
--- a/sh/profile.d/welcome.sh
+++ b/sh/profile.d/welcome.sh
@@ -7,8 +7,8 @@ esac
# Only if not in a tmux window
[ -z "$TMUX" ] || return
-# Not if ~/.hushlogin exists
-[ -e "$HOME"/.hushlogin ] && return
+# Only if ~/.hushlogin doesn't exist
+! [ -e "$HOME"/.hushlogin ] || return
# Run all of this in a subshell to clear it away afterwards
(