fix(zsh): Fix Vagrant integration under WSL
This commit is contained in:
parent
3b05bf691e
commit
62d0c1d8a1
9
.zshrc
9
.zshrc
@ -61,6 +61,15 @@ export PATH="$HOME/.local/bin:$PATH"
|
||||
# Go path
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
# Check if running within WSL
|
||||
if test -f "/proc/sys/fs/binfmt_misc/WSLInterop"
|
||||
then
|
||||
# Configure Vagrant integration for WSL
|
||||
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
|
||||
export PATH="$PATH:/mnt/c/Program Files/Oracle/VirtualBox:/mnt/c/Windows/system32:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/"
|
||||
export VAGRANT_DISABLE_VBOXSYMLINKCREATE="1"
|
||||
fi
|
||||
|
||||
# The next line updates PATH for the Google Cloud SDK.
|
||||
if [ -f '/home/tanguy/Downloads/tmp/google-cloud-sdk/path.zsh.inc' ]; then . '/home/tanguy/Downloads/tmp/google-cloud-sdk/path.zsh.inc'; fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user