From d20c14b4bb42b67733df3ce35a6e12a79d4a4bae Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 7 Nov 2006 23:06:29 +1000 Subject: [PATCH] Do not print a newline on empty greeting message. Thanks to Reuben Thomas for pointing this out. darcs-hash:20061107130629-ac50b-553bc13390c0f040f4cecf2780e34da674e065fa.gz --- share/config_interactive.fish.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/config_interactive.fish.in b/share/config_interactive.fish.in index 8198538c7..c15493753 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