mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
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:
parent
981f5782d8
commit
d20c14b4bb
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue