From 0ad0465a7a3296b3223693c655f370b7aae0d441 Mon Sep 17 00:00:00 2001 From: Swarnim Maheshwari Date: Sat, 11 Mar 2023 11:54:14 +0530 Subject: [PATCH] fix(init): avoid cygpath for starship binary path (#4970) Update mod.rs --- src/init/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init/mod.rs b/src/init/mod.rs index 51439893..f0b247c9 100644 --- a/src/init/mod.rs +++ b/src/init/mod.rs @@ -169,7 +169,7 @@ pub fn init_stub(shell_name: &str) -> io::Result<()> { "ion" => print!("eval $({} init ion --print-full-init)", starship.sprint()?), "elvish" => print!( r#"eval ({} init elvish --print-full-init | slurp)"#, - starship.sprint_posix()? + starship.sprint()? ), "tcsh" => print!( r#"eval `({} init tcsh --print-full-init)`"#,