mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Move $__fish_initialized to config_interactive
This is no longer used in share/config.fish, and it's quite cheesy. The only thing we use it for is defaulting the colorscheme.
This commit is contained in:
@@ -8,11 +8,6 @@ set -g IFS \n\ \t
|
||||
set -qg __fish_added_user_paths
|
||||
or set -g __fish_added_user_paths
|
||||
|
||||
# For one-off upgrades of the fish version, see __fish_config_interactive.fish
|
||||
if not set -q __fish_initialized
|
||||
set -U __fish_initialized 0
|
||||
end
|
||||
|
||||
#
|
||||
# Create the default command_not_found handler
|
||||
#
|
||||
|
||||
@@ -9,6 +9,11 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||
return
|
||||
end
|
||||
|
||||
# For one-off upgrades of the fish version
|
||||
if not set -q __fish_initialized
|
||||
set -U __fish_initialized 0
|
||||
end
|
||||
|
||||
set -g __fish_config_interactive_done
|
||||
set -g __fish_active_key_bindings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user