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.
@lopugit
Fair enough. You don't like the acrylic, then?
Set
shell
to whatever PowerShell executable you want to use, eitherpowershell
for 5.x orpwsh
for 6.x+. SetshellArgs
to["path\\to\\hyperstart.ps1"]