From 4813763c35d242ced14e4a681add3699bf94c7f7 Mon Sep 17 00:00:00 2001 From: Tim Grelka Date: Sat, 13 Feb 2021 19:53:02 +0100 Subject: [PATCH] fix(init): Quote path for elvish init (#2294) Fixes starship/starship#2293 --- src/init/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init/mod.rs b/src/init/mod.rs index e8ff73ce..a06bf32d 100644 --- a/src/init/mod.rs +++ b/src/init/mod.rs @@ -168,7 +168,7 @@ fi"#, } Some("elvish") => { let script = format!( - "eval ({} init elvish --print-full-init | slurp)", + "eval (\"{}\" init elvish --print-full-init | slurp)", starship.sprint_posix()? ); Some(script)