Bug Report
Current Behavior
the starship init zsh code cannot work properly.
The path handling (spaces and forward/backward slashes, maybe) are failing.
Expected Behavior
I expect it to work like startship init zsh in Linux.
The msys2 environment provides equivalent utilities.
If Zsh (and z10k) can already work, it should be possible for starship too.
Additional context/Screenshots
errors like:
zsh: no such file or directory: /c/Program
zsh: no such file or directory: /c/Program
Possible Solution
Fix path handling, correct escaping sequence.
Maybe some code to detect the context of msys2/zsh.
Environment
- Starship version: 1.26.0
- Shell type: zsh 5.9 oh-my-zsh
- Terminal emulator: wezterm
- Operating system: Windows 11
Bug Report
Current Behavior
the
starship init zshcode cannot work properly.The path handling (spaces and forward/backward slashes, maybe) are failing.
Expected Behavior
I expect it to work like
startship init zshin Linux.The msys2 environment provides equivalent utilities.
If Zsh (and z10k) can already work, it should be possible for starship too.
Additional context/Screenshots
errors like:
Possible Solution
Fix path handling, correct escaping sequence.
Maybe some code to detect the context of msys2/zsh.
Environment