I'm not supporting this anymore - I use Windows Terminal now.
Short script for Windows that allows you to select which shell you want when Hyper starts. As flexible as the windows command line.
- Grab the script from below.
- Save it wherever you want.
- Set your
shell
to''
(meaning CMD on Windows) and yourshellArgs
to["/C", "path\\to\\your\\hyperstart.bat"]
- Additional steps
- To enable the "launch elevated" line, Hyper needs to be on the PATH.
- Add another
ECHO
line with a new number:ECHO [4] Python
- Add the corresponding number to the
CHOICE
line:CHOICE /N /C:1234
- Add the corresponding
IF ERRORLEVEL
line below theCLS
line:IF ERRORLEVEL ==4 python
- Fix up the other numbers, if necessary.
Batch file no longer runs (resolved)
After a recent update (I'm now on 3.0.0 stable), my version of this batch files no longer runs from shellArgs, or any other configs when starting Hyper. It looks like the .hyper.js config file is now located in the Windows roaming AppData folder for Hyper (%USERPROFILE%\AppData\Roaming\Hyper). Once I moved my config and batch file there, it works as expected.