fix(init): Quote path for elvish init (#2294)
Fixes starship/starship#2293
This commit is contained in:
parent
cdb999447a
commit
4813763c35
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue