1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 20:10:58 +00:00

shell selection and login mode instructions (#56, ~#83)

This commit is contained in:
mintty 2018-01-10 21:41:34 +01:00
parent 64c2d04b56
commit 0fd1dd9077

View File

@ -117,13 +117,16 @@ Note:
If you define `HOME` at Windows level, this changes accordingly. If you define `HOME` at Windows level, this changes accordingly.
Note, however, that the WSL `HOME` is a completely different setting. Note, however, that the WSL `HOME` is a completely different setting.
#### Shell selection #### #### Shell selection and Login shell ####
The WSLtty deployment does not impose a shell preference anymore. The WSLtty deployment does not impose a shell preference anymore.
However, the intermediate gateways (`wslbridge` and its backend and the `bash.exe` Windows launcher) However, the intermediate gateways (`wslbridge` and its backend and the `bash.exe` Windows launcher)
are also involved. To invoke your favourite shell, you may append are also involved.
a shell pathname to the mintty invocation (in shortcuts, scripts, or context menu entries),
or handle shell replacement within the WSL startup scripts (esp. `.profile`). To invoke your favourite shell or launch the shell in login mode,
you may append a shell pathname and an optional `-l` parameter
to the mintty invocation (in shortcuts, scripts, or context menu entries):
* `%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" /bin/bash -l`
### Components and Credits ### ### Components and Credits ###