mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-10 09:41:16 -03:00
Only set default fish_function_path when --no-config is used
Otherwise config.fish will keep $fish_function_path.
This commit is contained in:
@@ -480,7 +480,7 @@ int main(int argc, char **argv) {
|
||||
paths = determine_config_directory_paths(argv[0]);
|
||||
}
|
||||
if (!opts.no_exec) {
|
||||
env_init(&paths, !opts.no_config);
|
||||
env_init(&paths, /* do uvars */ !opts.no_config, /* default paths */ opts.no_config);
|
||||
}
|
||||
|
||||
// Set features early in case other initialization depends on them.
|
||||
|
||||
Reference in New Issue
Block a user