mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
parent
cb9f4e621f
commit
b9d2e4d897
1 changed files with 4 additions and 5 deletions
|
@ -23,13 +23,12 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||||
end
|
end
|
||||||
|
|
||||||
if not set -q fish_greeting
|
if not set -q fish_greeting
|
||||||
set -l line1 (printf (_ 'Welcome to fish, the friendly interactive shell' ))
|
set -l line1 (_ 'Welcome to fish, the friendly interactive shell')
|
||||||
|
set -l line2 ''
|
||||||
if not set -q __fish_init_2_3_0
|
if not set -q __fish_init_2_3_0
|
||||||
set -l line2 \n(printf (_ 'Type %shelp%s for instructions on how to use fish %s') (set_color green) (set_color normal))
|
set line2 \n(_ 'Type `help` for instructions on how to use fish')
|
||||||
else
|
|
||||||
set -l line2 ''
|
|
||||||
end
|
end
|
||||||
set -U fish_greeting $line1$line2
|
set -U fish_greeting "$line1$line2"
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue