mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Shell: Correctly complete paths in redirections
This commit allows the Shell to complete paths in redirections. A closing quote is added if the path is an unclosed quote. ``` $ foo > "foob<tab> $ foo > "foobar" ```
This commit is contained in:
parent
9a4ee9aa1a
commit
77039e5354
3 changed files with 46 additions and 25 deletions
|
@ -61,7 +61,7 @@ struct Redirection {
|
|||
Type type;
|
||||
int fd { -1 };
|
||||
int rewire_fd { -1 };
|
||||
String path {};
|
||||
Token path {};
|
||||
};
|
||||
|
||||
struct Rewiring {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue