fix: alias expansion with arguments

This commit is contained in:
iff 2024-12-06 21:36:08 +01:00
parent 5840e748e6
commit e6ed9d617b
3 changed files with 37 additions and 15 deletions

View file

@ -252,6 +252,8 @@ pub fn confirm_suggestion(data: &Data, highlighted: &str) -> Result<(), String>
let shell = &data.shell;
let command = &data.suggest.clone().unwrap();
#[cfg(debug_assertions)]
eprintln!("running command: {command}");
let now = Instant::now();
let process = run_suggestion(data, command);