mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
Adding a plugin that set the required environment variable to VcXsrv
This commit is contained in:
parent
2d3bae965a
commit
873b92e169
2 changed files with 24 additions and 0 deletions
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
|
||||
Loading…
Reference in a new issue