Only show greeting in interactive mode

darcs-hash:20061010173154-ac50b-4831a80be03ed132ca5f709dcc5284d17d828d4e.gz
This commit is contained in:
axel 2006-10-11 03:31:54 +10:00
parent 18bb4ca826
commit e3e1b34fec

View file

@ -83,8 +83,9 @@ if not set -q fish_greeting
set -U fish_greeting $line1\n$line2
end
echo $fish_greeting
if status --is-interactive
echo $fish_greeting
end
#
# Don't need completions in non-interactive mode