Browse Source

[ZSHRC] Updated WSL check for WSLG

main
Marcel Kapfer 3 months ago
parent
commit
edca2f3f09
Signed by: mmk2410 GPG Key ID: CADE6F0C09F21B09
  1. 2
      shells/zshrc

2
shells/zshrc

@ -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…
Cancel
Save