Adding latest changes

This commit is contained in:
Gerardo J. Puerta
2022-09-13 07:11:59 -05:00
parent b7fd37ba13
commit a15b47444a
5 changed files with 62 additions and 3 deletions

View File

@ -146,7 +146,18 @@ if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null
then
echo -e "${green} * ${nc} WSL env detected ..."
export DISPLAY=:0.0
for i in $(pstree -np -s $$ | grep -o -E '[0-9]+')
do
if [[ -e "/run/WSL/${i}_interop" ]]
then
export WSL_INTEROP=/run/WSL/${i}_interop
fi
done
export BROWSER=wslview
alias adb="/mnt/c/Android/android-sdk/platform-tools/adb.exe"
alias fastboot="/mnt/c/Android/android-sdk/platform-tools/fastboot.exe"
alias code="/mnt/c/Program\ Files/Microsoft\ VS\ Code/Code.exe"
fi
echo -e "Ready${green}!${nc}"