only use keychain on wsl2

This commit is contained in:
Anthony Rodriguez 2023-09-26 08:59:38 +02:00
parent 2cd0e9e2a2
commit 29367d916d
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -1,4 +1,4 @@
if status is-interactive
if test -f /proc/sys/fs/binfmt_misc/WSLInterop andtest -f /proc/sys/fs/binfmt_misc/WSLInterop; and status is-interactive
keychain --quiet -Q id_ed25519
end