mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-26 19:40:20 +00:00
fix(nu): don't use cygpath
for starship binary path in init (#4001)
nu on windows need not be posix
This commit is contained in:
parent
89fd5320af
commit
9b52475e54
@ -171,7 +171,7 @@ pub fn init_stub(shell_name: &str) -> io::Result<()> {
|
|||||||
r#"eval `({} init tcsh --print-full-init)`"#,
|
r#"eval `({} init tcsh --print-full-init)`"#,
|
||||||
starship.sprint_posix()?
|
starship.sprint_posix()?
|
||||||
),
|
),
|
||||||
"nu" => print_script(NU_INIT, &StarshipPath::init()?.sprint_posix()?),
|
"nu" => print_script(NU_INIT, &StarshipPath::init()?.sprint()?),
|
||||||
"xonsh" => print!(
|
"xonsh" => print!(
|
||||||
r#"execx($({} init xonsh --print-full-init))"#,
|
r#"execx($({} init xonsh --print-full-init))"#,
|
||||||
starship.sprint_posix()?
|
starship.sprint_posix()?
|
||||||
|
Loading…
Reference in New Issue
Block a user