mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
Fix to better support CDPATH
This commit is contained in:
@@ -49,9 +49,7 @@ extern wcstring stdout_buffer, stderr_buffer;
|
||||
*/
|
||||
static int is_path_variable( const wchar_t *env )
|
||||
{
|
||||
return contains( env,
|
||||
L"PATH"
|
||||
);
|
||||
return contains(env, L"PATH", L"CDPATH" );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user