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:
2
plugins/vcxsrv/vcxsrv.plugin.zsh
Normal file
2
plugins/vcxsrv/vcxsrv.plugin.zsh
Normal 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
|
||||
Reference in New Issue
Block a user