diff --git a/src/init/mod.rs b/src/init/mod.rs index be00940a..9e30d0c4 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()?