Skip to main content

Module LocalPTYGetDefaultShell

Module LocalPTYGetDefaultShell 

Source
Expand description

Pick the system default shell. Unix: $SHELL, then probe /bin/{zsh,bash,sh}. Windows: PowerShell 7 if installed, else stock Windows PowerShell. Used by Wind’s “Open Default Terminal” command and by extensions that spawn unparented shells.

Functions§

LocalPTYGetDefaultShell