Do not print a newline on empty greeting message. Thanks to Reuben Thomas for pointing this out.

darcs-hash:20061107130629-ac50b-553bc13390c0f040f4cecf2780e34da674e065fa.gz
This commit is contained in:
axel 2006-11-07 23:06:29 +10:00
parent 981f5782d8
commit d20c14b4bb

View file

@ -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