aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/config_interactive.fish.in
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-11-07 23:06:29 +1000
committerGravatar axel <axel@liljencrantz.se>2006-11-07 23:06:29 +1000
commitd20c14b4bb42b67733df3ce35a6e12a79d4a4bae (patch)
tree2cca9a943cc337ddf1799814352d960b7299b37d /share/config_interactive.fish.in
parent981f5782d8ef6fcc29ca4cd7e24b91afe921ff65 (diff)
Do not print a newline on empty greeting message. Thanks to Reuben Thomas for pointing this out.
darcs-hash:20061107130629-ac50b-553bc13390c0f040f4cecf2780e34da674e065fa.gz
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