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.
I say thank you.
I am having a problem where I can't close any tabs or panes though, and even closing the whole window ends up with a crash. Opening new tabs and selecting the shell works fine. Have you encountered anyone with this issue too?
May I ask what the .ps1 file is for? There's no mention of what it is intended for? I have just been using the .bat file for now.