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
shellto''(meaning CMD on Windows) and yourshellArgsto["/C", "path\\to\\your\\hyperstart.bat"] - Additional steps
- To enable the "launch elevated" line, Hyper needs to be on the PATH.
- Add another
ECHOline with a new number:ECHO [4] Python - Add the corresponding number to the
CHOICEline:CHOICE /N /C:1234 - Add the corresponding
IF ERRORLEVELline below theCLSline:IF ERRORLEVEL ==4 python - Fix up the other numbers, if necessary.
Awesome Job!
I had the same issue as seen by @ammein above.
I did not want to add the ms-git's version of bash in my PATH, as I would soon setup WSL, and I want that application's bash to be in PATH.
So, if like me, you have multiple bashes :-), you can do the following:
In other words, you can give full path to the bash.exe you want to execute.
Once I install WSL, I will extend this script, to include 2 bash options, each pointing to their respective exes.