mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 22:21:44 +08: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:
parent
6e7d497a52
commit
b9ba3020f8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user