1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-15 01:01:00 +00:00
serenity/Shell
Mathieu PATUREL f6d4c4f02c Shell: update cached_path when adding aliases
This has the nice side effect of fixing alias completion, because
cached_path is the source of truth for the completion system, and it was
only refreshed (with shell::cache_path()) in the shell's constructor,
before the rc files where loaded (ie no aliases)

This also means that shell::is_runnable can now rely on the cache, and
doesn't have to check the aliases itself.
2020-08-04 10:51:16 +02:00
..
Tests Shell: Tweak tests to use 'echo -n' when newlines are significant 2020-07-30 18:47:41 +02:00
AST.cpp Shell: highlight runnable commands 2020-08-04 10:51:16 +02:00
AST.h Shell: Mark ForLoop as would_execute 2020-07-17 23:18:15 +02:00
Builtin.cpp Shell: update cached_path when adding aliases 2020-08-04 10:51:16 +02:00
CMakeLists.txt Shell: Switch to a new parser and AST 2020-07-05 15:43:14 +02:00
Execution.h Shell: Switch to using Core::EventLoop 2020-05-17 11:58:08 +02:00
Forward.h Shell: Show descriptions about syntax errors 2020-07-05 15:43:14 +02:00
Job.h Shell: Avoid waiting for jobs that were *just* unblocked 2020-07-13 19:48:45 +02:00
main.cpp Shell: Do not assume that wstatus is valid after wait() returns 0 2020-07-30 18:47:41 +02:00
Parser.cpp Shell: Fix parse mistake in '&&' not being recursive 2020-07-30 18:47:41 +02:00
Parser.h Shell: Add a 'for' loop 2020-07-16 16:01:10 +02:00
Shell.cpp Shell: update cached_path when adding aliases 2020-08-04 10:51:16 +02:00
Shell.h Shell: highlight runnable commands 2020-08-04 10:51:16 +02:00