Skip to content

Commit

Permalink
fix(init): Quote path for elvish init (#2294)
Browse files Browse the repository at this point in the history
Fixes #2293
  • Loading branch information
tgrelka authored Feb 13, 2021
1 parent cdb9994 commit 4813763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4813763

Please sign in to comment.