diff options
author | Tyler Ruckinger <t.ruckinger@gmail.com> | 2022-06-02 17:46:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 23:46:46 +0200 |
commit | 9b52475e541f751e8c650587cd8c1615fe00b1d0 (patch) | |
tree | aed7260067dae3d79a0643b6e93c9cf68032d57c /src/init/mod.rs | |
parent | 89fd5320af248207e8b253790bd191d8daa88dbe (diff) |
fix(nu): don't use `cygpath` for starship binary path in init (#4001)
nu on windows need not be posix
Diffstat (limited to 'src/init/mod.rs')
-rw-r--r-- | src/init/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/mod.rs b/src/init/mod.rs index be00940ae..9e30d0c44 100644 --- a/src/init/mod.rs +++ b/src/init/mod.rs @@ -171,7 +171,7 @@ pub fn init_stub(shell_name: &str) -> io::Result<()> { r#"eval `({} init tcsh --print-full-init)`"#, starship.sprint_posix()? ), - "nu" => print_script(NU_INIT, &StarshipPath::init()?.sprint_posix()?), + "nu" => print_script(NU_INIT, &StarshipPath::init()?.sprint()?), "xonsh" => print!( r#"execx($({} init xonsh --print-full-init))"#, starship.sprint_posix()? |