mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
Shell: Refresh PATH cache after running shellrc files
This fixes the highlight of runnable commands, whenever PATH variable is changed in one of the shellrc files.
This commit is contained in:
parent
e292a038b7
commit
5506932788
2 changed files with 2 additions and 1 deletions
|
@ -225,6 +225,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
};
|
||||
run_rc_file(Shell::Shell::global_init_file_path);
|
||||
run_rc_file(Shell::Shell::local_init_file_path);
|
||||
shell->cache_path();
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue