mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-12-22 11:30:15 +02:00
Add some support for WSL
This commit is contained in:
parent
c77d264389
commit
faed6407e3
6
.zshrc
6
.zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user