From b6800f7762c46b80f7f86c8a9b4b6cf4984fc127 Mon Sep 17 00:00:00 2001 From: Thomas Wolff Date: Mon, 2 Dec 2019 00:00:00 +0100 Subject: [PATCH] --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4d91557..c2fa4ad 100644 --- a/README.md +++ b/README.md @@ -181,16 +181,18 @@ Note: #### Shell selection and Login shell #### -The WSLtty deployment does not impose a shell preference. - -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: +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" -` +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 ###