1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 20:10:58 +00:00
wsltty/wsl-l.bat

14 lines
569 B
Batchfile
Raw Normal View History

2016-11-16 16:46:50 +01:00
@echo off
rem Start mintty terminal for WSL with login shell
2016-11-16 16:46:50 +01:00
if "%installdir%" == "" set installdir=%LOCALAPPDATA%\wsltty
if "%configdir%" == "" set configdir=%APPDATA%\wsltty
2016-11-16 16:46:50 +01: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 or include the installation folder "%LOCALAPPDATA%\wsltty" in your PATH
2016-11-16 16:46:50 +01:00
"%installdir%\bin\mintty.exe" --wsl -h err "--configdir=%configdir%" -o Locale=C -o Charset=UTF-8 -i "%LOCALAPPDATA%\wsltty\wsl.ico" /bin/wslbridge -t /bin/bash -l
2016-11-16 16:46:50 +01:00