winure/scripts/wt.sh

12 lines
196 B
Bash
Raw Normal View History

#!/usr/bin/bash
if [[ "$1" == "-e" ]]; then
elevate -l wt
exit
fi
cd '/mnt/c/Program Files/WindowsApps/'
target=`find Microsoft.WindowsTerminal* -name 'WindowsTerminal.exe'`
dos "$target" $@