[ZSH] WSL setup stuff
This commit is contained in:
parent
b98ebda7d1
commit
f2fe56fb18
1 changed files with 9 additions and 0 deletions
|
@ -160,3 +160,12 @@ then
|
||||||
. "$GUIX_PROFILE/etc/profile"
|
. "$GUIX_PROFILE/etc/profile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#################
|
||||||
|
### WSL STUFF ###
|
||||||
|
#################
|
||||||
|
|
||||||
|
if [[ -n $WSL_DISTRO_NAME ]];
|
||||||
|
then
|
||||||
|
export DISPLAY=$(ip route | awk '{print $3; exit}'):0
|
||||||
|
export LIBGL_ALWAYS_INDIRECT=1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue