diff --git a/README.md b/README.md index 4d91557..c2fa4ad 100644 --- a/README.md +++ b/README.md @@ -181,15 +181,17 @@ Note: #### 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: +* `%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" -` -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` +You may tweak shortcuts, scripts, or context menu entries as follows: -To just request login mode, a single `-` parameter also works: -* `%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" -` +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` ---