Custom command-line profiles
Windows Terminal's profiles are powerful—we can use any arbitrary program as our shell. Usually, these programs are interactive, but it's not a requirement. In this section, we'll run through a few useful shells that show the power of these custom profiles.
Because each program operates slightly differently, we'll see various useful profile settings for smoothing over these differences to provide uniform access through Windows Terminal.
Git Bash shell
On Windows, Git includes a preconfigured bash shell. We can run this Git Bash shell inside Windows Terminal with the following profile object. The -li
argument starts our shell as an interactive login shell, so it reads the appropriate start up configuration files:
{ Â Â "guid": "{f742cfe1-fa88-4d36-bb67-ac93b526bb80}", Â Â "name": "Git Bash", Â Â "commandline": "%PROGRAMFILES%\\Git\\bin\\bash...