mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20: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() {
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue