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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ fi"#,
} }
Some("elvish") => { Some("elvish") => {
let script = format!( let script = format!(
"eval ({} init elvish --print-full-init | slurp)", "eval (\"{}\" init elvish --print-full-init | slurp)",
starship.sprint_posix()? starship.sprint_posix()?
); );
Some(script) Some(script)