aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/config_interactive.fish.in
diff options
context:
space:
mode:
Diffstat (limited to 'share/config_interactive.fish.in')
-rw-r--r--share/config_interactive.fish.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/config_interactive.fish.in b/share/config_interactive.fish.in
index 8198538c..c1549375 100644
--- a/share/config_interactive.fish.in
+++ b/share/config_interactive.fish.in
@@ -75,8 +75,9 @@ if not set -q fish_greeting
set -U fish_greeting $line1\n$line2
end
-echo $fish_greeting
-
+if test "$fish_greeting"
+ echo $fish_greeting
+end
#
# Set exit message