summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/cd.py
Commit message (Collapse)AuthorAgeFilesLines
* CLI: Fix 'cd' subcommand on Windows (#16610)Erovia2022-03-101-1/+2
| | | | | | The 'cd' subcommand was failing as the current shell's Windows path was mangled while milc processed it. Using 'subprocess' directly avoids this issue and an extra layer of subshell.
* CLI: Add 'cd' subcommand (#12584)Erovia2021-11-051-0/+46
* CLI: Add 'cd' subcommand Go to your qmk_firmware dir with ease. * Fix for Windows and do not run if already under QMK Home * Make flake8 happy * Fix prompt for Windows * Make flake8 happy once again * I'll get it right eventually * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * Add subcommand to __init__.py and fixup after rebase * Update Windows code to use milc's run * Unify the subshell starting with os.execl * Exit with error msg when output is redirected to non-TTY. * Revert Windows-specific code Co-authored-by: Ryan <fauxpark@gmail.com>