mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 08:31:12 -03:00
Renamed env_vars to env_vars_snapshot_t
Cleanup of non-wcstring version of path_get_path
This commit is contained in:
@@ -114,7 +114,7 @@ int autoload_t::load( const wcstring &cmd, bool reload )
|
||||
return res;
|
||||
}
|
||||
|
||||
bool autoload_t::can_load( const wcstring &cmd, const env_vars &vars )
|
||||
bool autoload_t::can_load( const wcstring &cmd, const env_vars_snapshot_t &vars )
|
||||
{
|
||||
const wchar_t *path_var_ptr = vars.get(env_var_name.c_str());
|
||||
if (! path_var_ptr || ! path_var_ptr[0])
|
||||
|
||||
Reference in New Issue
Block a user