From 4ce4b110949301c717578b6ed80ff5d85b30f82d Mon Sep 17 00:00:00 2001 From: mintty Date: Fri, 22 Dec 2017 12:53:21 +0100 Subject: [PATCH] remove "-h err" from scripts, shortcuts, context menu (#79) --- config-distros.sh | 6 +++--- mkshortcut.vbs | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config-distros.sh b/config-distros.sh index 61ba033..57d76f5 100755 --- a/config-distros.sh +++ b/config-distros.sh @@ -140,8 +140,8 @@ do root="$basepath" fi - minttyargs='--wsl --rootfs="'"$root"'" -h err --configdir="%APPDATA%\wsltty" -o Locale=C -o Charset=UTF-8 /bin/wslbridge ' - minttyargs='--WSL="'"$distro"'" -h err --configdir="%APPDATA%\wsltty"' + minttyargs='--wsl --rootfs="'"$root"'" --configdir="%APPDATA%\wsltty" -o Locale=C -o Charset=UTF-8 /bin/wslbridge ' + minttyargs='--WSL="'"$distro"'" --configdir="%APPDATA%\wsltty"' #if [ -z "$launch" ] #then bridgeargs='-t /bin/bash' #else bridgeargs='-l "'"$launch"'" -t /bin/bash' @@ -154,7 +154,7 @@ do distro= name=WSL icon="%LOCALAPPDATA%/wsltty/wsl.ico" - minttyargs='--WSL= -h err --configdir="%APPDATA%\wsltty"' + minttyargs='--WSL= --configdir="%APPDATA%\wsltty"' bridgeargs='-t' ok=true;; diff --git a/mkshortcut.vbs b/mkshortcut.vbs index c61224b..9e0bf92 100755 --- a/mkshortcut.vbs +++ b/mkshortcut.vbs @@ -1,15 +1,15 @@ rem cscript mkshortcut.vbs [/param:arg] /target:link -rem % -rem /arguments:--wsl -h err -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash -rem ~ -rem /arguments:--wsl -h err -o Locale=C -o Charset=UTF-8 /bin/wslbridge -C~ -t /bin/bash -rem -l -rem /arguments:--wsl -h err -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash -l rem /target:%LOCALAPPDATA%\wsltty\bin\mintty.exe rem /workingdir:%USERPROFILE% -rem rem /icon:%LOCALAPPDATA%\lxss\bash.ico rem /icon:%LOCALAPPDATA%\wsltty\wsl.ico +rem deprecated: /icon:%LOCALAPPDATA%\lxss\bash.ico +rem deprecated: % +rem /arguments:--wsl -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash +rem deprecated: ~ +rem /arguments:--wsl -o Locale=C -o Charset=UTF-8 /bin/wslbridge -C~ -t /bin/bash +rem deprecated: -l +rem /arguments:--wsl -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash -l rem General - Name: name = Wscript.Arguments.Named("name") & ".lnk"