chore: cleanup

This commit is contained in:
iff 2024-12-07 17:15:52 +01:00
parent f47bf23f6a
commit 2c7866baf2
6 changed files with 25 additions and 21 deletions

View file

@ -284,7 +284,8 @@ pub fn expand_alias(map: &HashMap<String, String>, command: &str) -> Option<Stri
} else {
(command, "")
};
map.get(command).map(|expand| format!("{} {}", expand, args))
map.get(command)
.map(|expand| format!("{} {}", expand, args))
}
pub fn expand_alias_multiline(map: &HashMap<String, String>, command: &str) -> Option<String> {