Add .wsl.zsh
This commit is contained in:
parent
50b0f2ba85
commit
01294e5334
9
.wsl.zsh
Normal file
9
.wsl.zsh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
export PATH="/mnt/c/Program Files/Oracle/VirtualBox:$PATH"
|
||||||
|
export PATH="/mnt/c/Windows/System32/OpenSSH:$PATH"
|
||||||
|
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
|
||||||
|
|
||||||
|
alias ssh-add=ssh-add.exe
|
||||||
|
alias ssh-agent=ssh-agent.exe
|
||||||
|
alias ssh-keygen=ssh-keygen.exe
|
||||||
|
alias ssh-keyscan=ssh-keyscan.exe
|
||||||
|
alias ssh=ssh.exe
|
2
.zshrc
2
.zshrc
@ -60,6 +60,8 @@ else
|
|||||||
export EDITOR="vi"
|
export EDITOR="vi"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $(command -v uname) && !$(uname -r | grep -iq microsoft-standard) ]]; then source "$HOME/.wsl.zsh"; fi
|
||||||
|
|
||||||
if [[ -f "$HOME/work.zsh" ]]; then
|
if [[ -f "$HOME/work.zsh" ]]; then
|
||||||
source "$HOME/work.zsh"
|
source "$HOME/work.zsh"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user