mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Only show greeting in interactive mode
darcs-hash:20061010173154-ac50b-4831a80be03ed132ca5f709dcc5284d17d828d4e.gz
This commit is contained in:
parent
18bb4ca826
commit
e3e1b34fec
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue