mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-13 15:00:15 +01:00
feat: expand alias for suggestion
This commit is contained in:
parent
45de0ad8e3
commit
7b9cecfd8d
4 changed files with 22 additions and 16 deletions
|
|
@ -53,7 +53,8 @@ fn main() {
|
|||
}
|
||||
};
|
||||
|
||||
let mut last_command = shell::last_command_expanded_alias(&shell);
|
||||
let mut last_command = shell::last_command(&shell);
|
||||
last_command = shell::expand_alias(&shell, &last_command);
|
||||
let mut error_msg = command_output(&shell, &last_command);
|
||||
loop {
|
||||
let suggestion = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue