mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Don't check config directories with --no-config
If we don't use 'em, we should not complain about 'em.
This commit is contained in:
@@ -425,7 +425,10 @@ void env_init(const struct config_paths_t *paths, bool do_uvars, bool default_pa
|
||||
init_input();
|
||||
|
||||
// Complain about invalid config paths.
|
||||
path_emit_config_directory_messages(vars);
|
||||
// HACK: Assume the defaults are correct (in practice this is only --no-config anyway).
|
||||
if (!default_paths) {
|
||||
path_emit_config_directory_messages(vars);
|
||||
}
|
||||
|
||||
// Initialize our uvars if requested.
|
||||
if (!do_uvars) {
|
||||
|
||||
Reference in New Issue
Block a user