diff options
author | Tim Grelka <tim.grelka@outlook.de> | 2021-02-13 19:53:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-13 19:53:02 +0100 |
commit | 4813763c35d242ced14e4a681add3699bf94c7f7 (patch) | |
tree | 28892c0c0d2daa61a749233b49413d88a50fb688 | |
parent | cdb999447a80788a7e24f58958055e8471f39421 (diff) |
fix(init): Quote path for elvish init (#2294)
Fixes starship/starship#2293
-rw-r--r-- | src/init/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/mod.rs b/src/init/mod.rs index e8ff73ce2..a06bf32d7 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) |