chore: update initialization

This commit is contained in:
iff 2025-01-03 20:48:46 +01:00
parent c93f5b5cf5
commit 2aee748af3

View file

@ -545,13 +545,20 @@ def --env {} [] {{
match shell.as_str() { match shell.as_str() {
"bash" | "zsh" => { "bash" | "zsh" => {
initialize = format!(r#"alias {}='{}'"#, alias, initialize); initialize = format!(
r#"
{} () {{
{}
}}
"#,
alias, initialize
);
} }
"fish" => { "fish" => {
initialize = format!( initialize = format!(
r#" r#"
function {} -d "Terminal command correction" function {} -d "Suggest fixes to the previous command"
eval $({}) {}
end end
"#, "#,
alias, initialize alias, initialize