[Bug] qmk setup can't handle spaces in home path
#23.098 geöffnet am 16. Feb. 2024
Repository-Metriken
- Stars
- (20.368 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 20T 9h) (27 gemergte PRs in 30 T)
Beschreibung
Describe the Bug
I was just upgrading to the external userspace and had to update my qmk config because I couldn't get the userspace-add command to work.
I then saw this line in my config:
user.qmk_home=S:ProjectsKeyboardsQMK
This was really weird and I tried to run qmk setup again but it set it to the above so I had to set it manually.
I had to set the path sorrounded with "" to set it to:
user.qmk_home=S:/Projects/Keyboards/QMK Firmware/qmk_firmware
After setting it manually it finally works.
I would expect that qmk setup would set the path correctly even if it contains a space.
Sadly I don't know enough about the build code to do any PR for it :)
Keyboard Used
No response
Link to product page (if applicable)
No response
Operating System
Windows
qmk doctor Output
No response
Is AutoHotKey / Karabiner installed
- AutoHotKey (Windows)
- Karabiner (macOS)
Other keyboard-related software installed
No response
Additional Context
No response