Early implementation of bash-like completions with 'complete' and 'compgen' builtins

This commit is contained in:
2026-02-27 01:10:52 -05:00
parent 4fbc25090d
commit 5f3610c298
17 changed files with 879 additions and 227 deletions

View File

@@ -150,7 +150,7 @@ pub fn read_builtin(node: Node, _io_stack: &mut IoStack, job: &mut JobBldr) -> S
state::set_status(1);
break; // EOF
}
Ok(n) => {
Ok(_) => {
if buf[0] == read_opts.delim {
state::set_status(0);
break; // Delimiter reached, stop reading