mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Only show greeting in interactive mode
darcs-hash:20061010173154-ac50b-4831a80be03ed132ca5f709dcc5284d17d828d4e.gz
This commit is contained in:
parent
18bb4ca826
commit
e3e1b34fec
@ -83,8 +83,9 @@ if not set -q fish_greeting
|
|||||||
set -U fish_greeting $line1\n$line2
|
set -U fish_greeting $line1\n$line2
|
||||||
end
|
end
|
||||||
|
|
||||||
echo $fish_greeting
|
if status --is-interactive
|
||||||
|
echo $fish_greeting
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# Don't need completions in non-interactive mode
|
# Don't need completions in non-interactive mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user