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

@@ -315,10 +315,7 @@ impl LogTab {
self.aliases.get(name).cloned()
}
pub fn remove_alias(&mut self, name: &str) {
log::debug!("{:?}", self.aliases);
log::debug!("{name:?}");
self.aliases.remove(name);
log::debug!("{:?}", self.aliases);
}
pub fn clear_aliases(&mut self) {
self.aliases.clear()
@@ -655,7 +652,6 @@ impl VarTab {
}
}
pub fn var_exists(&self, var_name: &str) -> bool {
log::debug!("checking existence of {}", var_name);
if let Ok(param) = var_name.parse::<ShellParam>() {
return self.params.contains_key(&param);
}