qmk/qmk_firmware

[Bug] qmk setup can't handle spaces in home path

Open

#23.098 aperta il 16 feb 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C (43.867 fork)batch import
bughelp wanted

Metriche repository

Star
 (20.368 star)
Metriche merge PR
 (Merge medio 20g 9h) (27 PR mergiate in 30 g)

Descrizione

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

Guida contributor