Tab completion has been implemented

more small highlighter tune ups

2>&1 style redirections now work properly
This commit is contained in:
2026-02-18 21:53:36 -05:00
parent 01684cf8e5
commit 3b698628c6
22 changed files with 511 additions and 188 deletions

View File

@@ -247,9 +247,6 @@ pub fn double_bracket_test(node: Node) -> ShResult<bool> {
let rhs = rhs.expand()?.get_words().join(" ");
conjunct_op = conjunct;
let test_op = operator.as_str().parse::<TestOp>()?;
log::debug!("{lhs:?}");
log::debug!("{rhs:?}");
log::debug!("{test_op:?}");
match test_op {
TestOp::Unary(_) => {
return Err(ShErr::Full {
@@ -298,7 +295,6 @@ pub fn double_bracket_test(node: Node) -> ShResult<bool> {
}
}
};
log::debug!("{last_result:?}");
if let Some(op) = conjunct_op {
match op {
@@ -316,6 +312,5 @@ pub fn double_bracket_test(node: Node) -> ShResult<bool> {
last_result = result;
}
}
log::debug!("{last_result:?}");
Ok(last_result)
}