function gpg-sftp
    set -lx SSH_AUTH_SOCK $HOME/.gnupg/S.gpg-agent.ssh
    sftp $argv
end
