[ZSHRC] Updated WSL check for WSLG
This commit is contained in:
parent
f916de399c
commit
edca2f3f09
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ fi
|
|||
### WSL STUFF ###
|
||||
#################
|
||||
|
||||
if [[ -n $WSL_DISTRO_NAME ]];
|
||||
if [[ -n $WSL_DISTRO_NAME ]] && [[ ! -d /mnt/wslg ]];
|
||||
then
|
||||
export DISPLAY=$(ip route | awk '{print $3; exit}'):0
|
||||
export LIBGL_ALWAYS_INDIRECT=1
|
||||
|
|
Loading…
Reference in a new issue