From 05d3852287428401b7b3ae66b6908465c5a48164 Mon Sep 17 00:00:00 2001 From: iff Date: Fri, 4 Aug 2023 16:31:17 +0200 Subject: [PATCH] style: improved readability for fish init --- src/shell.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/shell.rs b/src/shell.rs index 095b192..d195047 100644 --- a/src/shell.rs +++ b/src/shell.rs @@ -173,7 +173,11 @@ pub fn initialization(shell: &str, binary_path: &str, auto_alias: &str) { } "fish" => { init = format!( - r#"function {} -d "Terminal command correction"; {}; end"#, + r#" +function {} -d "Terminal command correction" + {} +end +"#, auto_alias, init ); }