1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-22 08:20:59 +02:00

Add some support for WSL

This commit is contained in:
Arti Zirk 2021-06-02 16:41:10 +03:00
parent c77d264389
commit faed6407e3

6
.zshrc
View File

@ -230,3 +230,9 @@ export JOBS=8
function vless {
/usr/share/nvim/runtime/macros/less.sh $@
}
# If running under windows with pageagent then use it
# https://github.com/benpye/wsl-ssh-pageant
if [[ -e /mnt/c/wsl-ssh-pageant/ssh-agent.sock ]]; then
export SSH_AUTH_SOCK=/mnt/c/wsl-ssh-pageant/ssh-agent.sock
fi