mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 14:01:20 -03:00
Rely on $PWD instead of getcwd() more often
Fixes https://github.com/fish-shell/fish-shell/issues/696
This commit is contained in:
@@ -1639,7 +1639,7 @@ file_detection_context_t::file_detection_context_t(history_t *hist, const wcstri
|
||||
history(hist),
|
||||
command(cmd),
|
||||
when(time(NULL)),
|
||||
working_directory(get_working_directory())
|
||||
working_directory(env_get_pwd_slash())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user