mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00: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:
parent
49c16cc9a6
commit
fb283cfe4a
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue