mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 07:46:28 +00:00
fix(init): avoid cygpath for starship binary path (#4970)
Update mod.rs
This commit is contained in:
parent
c8520dc9d9
commit
0ad0465a7a
@ -169,7 +169,7 @@ pub fn init_stub(shell_name: &str) -> io::Result<()> {
|
|||||||
"ion" => print!("eval $({} init ion --print-full-init)", starship.sprint()?),
|
"ion" => print!("eval $({} init ion --print-full-init)", starship.sprint()?),
|
||||||
"elvish" => print!(
|
"elvish" => print!(
|
||||||
r#"eval ({} init elvish --print-full-init | slurp)"#,
|
r#"eval ({} init elvish --print-full-init | slurp)"#,
|
||||||
starship.sprint_posix()?
|
starship.sprint()?
|
||||||
),
|
),
|
||||||
"tcsh" => print!(
|
"tcsh" => print!(
|
||||||
r#"eval `({} init tcsh --print-full-init)`"#,
|
r#"eval `({} init tcsh --print-full-init)`"#,
|
||||||
|
Loading…
Reference in New Issue
Block a user