fix(init): avoid cygpath for starship binary path (#4970)

Update mod.rs
This commit is contained in:
Swarnim Maheshwari 2023-03-11 11:54:14 +05:30 committed by GitHub
parent c8520dc9d9
commit 0ad0465a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)`"#,