helix: :cd not working on Windows with v0.6
Reproduction steps
- Run
hxin the command prompt - Try to cd to a different folder, e.g. “C:\opt”
- Receive the error “Couldn’t change the current working directory: The system cannot find the file specified. (os error 2)”

The expected behavior (release v0.5) is:

Environment
- Platform: Windows 10
- Helix version: v0.6 release (
hx -Vprints “helix”)
~/.cache/helix/helix.log
(C:\Users\lsimons\AppData\Local\helix is empty)About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 16 (15 by maintainers)
Commits related to this issue
- fix: Use std::path::MAIN_SEPARATOR to determine completion Refs #1439 — committed to helix-editor/helix by archseer 2 years ago
We don’t import shellwords, we have our own implementation.
I thought the fix for #1389 was odd, rather than converting Windows backslashes to slashes, it should patch the shellwords handling to work with backslashes if
cfg(windows)I think?@kirawi You are on Windows right? Can you try to narrow it down?