1
0
mirror of https://github.com/starship/starship.git synced 2025-03-18 17:29:09 +01:00

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

Fixes 
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

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)