1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-15 05:40:57 +01:00

Adding a plugin that set the required environment variable to VcXsrv

This commit is contained in:
Rodrigo Estevao
2022-02-07 10:37:56 -03:00
parent 2d3bae965a
commit 873b92e169
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0 # in WSL 2
export LIBGL_ALWAYS_INDIRECT=1