mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
chore: update initialization
This commit is contained in:
parent
c93f5b5cf5
commit
2aee748af3
1 changed files with 10 additions and 3 deletions
|
|
@ -545,13 +545,20 @@ def --env {} [] {{
|
|||
|
||||
match shell.as_str() {
|
||||
"bash" | "zsh" => {
|
||||
initialize = format!(r#"alias {}='{}'"#, alias, initialize);
|
||||
initialize = format!(
|
||||
r#"
|
||||
{} () {{
|
||||
{}
|
||||
}}
|
||||
"#,
|
||||
alias, initialize
|
||||
);
|
||||
}
|
||||
"fish" => {
|
||||
initialize = format!(
|
||||
r#"
|
||||
function {} -d "Terminal command correction"
|
||||
eval $({})
|
||||
function {} -d "Suggest fixes to the previous command"
|
||||
{}
|
||||
end
|
||||
"#,
|
||||
alias, initialize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue