fix(init): Quote path for elvish init (#2294)

Fixes starship/starship#2293
This commit is contained in:
Tim Grelka
2021-02-13 19:53:02 +01:00
committed by GitHub
parent cdb999447a
commit 4813763c35
+1 -1
View File
@@ -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)