mirror of
https://github.com/mintty/wsltty.git
synced 2025-04-18 16:50:29 +01:00
This commit is contained in:
parent
8a3f7d19df
commit
b6800f7762
18
README.md
18
README.md
@ -181,16 +181,18 @@ Note:
|
|||||||
|
|
||||||
#### Shell selection and Login shell ####
|
#### Shell selection and Login shell ####
|
||||||
|
|
||||||
The WSLtty deployment does not impose a shell preference.
|
The WSLtty deployment does not impose a shell preference;
|
||||||
|
it invokes the user’s default shell in login mode by the final `-` parameter:
|
||||||
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`
|
|
||||||
|
|
||||||
To just request login mode, a single `-` parameter also works:
|
|
||||||
* `%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" -`
|
* `%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" -`
|
||||||
|
|
||||||
|
You may tweak shortcuts, scripts, or context menu entries as follows:
|
||||||
|
|
||||||
|
To launch a default shell in non-login mode, remove the final dash.
|
||||||
|
|
||||||
|
To invoke your preferred shell, replace the final dash with
|
||||||
|
a shell pathname and an optional `-l` parameter
|
||||||
|
* `%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" /bin/bash -l`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Components and Credits ###
|
### Components and Credits ###
|
||||||
|
Loading…
x
Reference in New Issue
Block a user