Fix var set in __fish_config_interactive.fish

__fish_config_interactive.fish uses the presence of __fish_init_1_50_0
to decide whether it should perform a one-time initialization of
universal variables. Unfortunately, it sets the variable
__fish_init_1_23_0. Fix this to set __fish_init_1_50_0 instead.
This commit is contained in:
Kevin Ballard 2012-06-21 20:20:23 -07:00 committed by ridiculousfish
parent adfd3c1098
commit 4d1c0eaa52

View File

@ -83,7 +83,7 @@ function __fish_config_interactive -d "Initializations that should be performed
set -l line2 (printf (_ 'Type %shelp%s for instructions on how to use fish') (set_color green) (set_color normal))
set -U fish_greeting $line1\n$line2
end
set -U __fish_init_1_23_0
set -U __fish_init_1_50_0
#
# Set various defaults using these throwaway functions