2016-09-18 22:26:47 +02:00
|
|
|
@echo off
|
|
|
|
|
2016-09-29 14:53:19 +02:00
|
|
|
rem Start mintty terminal for WSL in home directory
|
|
|
|
|
2017-05-19 22:19:20 +02:00
|
|
|
if "%installdir%" == "" set installdir=%LOCALAPPDATA%\wsltty
|
|
|
|
if "%configdir%" == "" set configdir=%APPDATA%\wsltty
|
|
|
|
|
2016-09-29 14:53:19 +02:00
|
|
|
rem To enable invocation of this script from WIN+R or from cmd.exe,
|
|
|
|
rem you may want to copy this script into "%SYSTEMROOT%\System32"
|
|
|
|
|
|
|
|
rem You may want a variant of this script without trailing "-l"
|
|
|
|
rem to start in the current directory from cmd.exe
|
|
|
|
|
2017-05-19 22:19:20 +02:00
|
|
|
"%installdir%\bin\mintty.exe" --wsl "--configdir=%configdir%" -o Locale=C -o Charset=UTF-8 -i "%LOCALAPPDATA%\lxss\bash.ico" /bin/wslbridge -t /bin/bash
|
2016-09-18 22:26:47 +02:00
|
|
|
|