mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: fish script for gpg integration with ssh
This commit is contained in:
7
scripts/gpg.integrate-ssh.fish
Normal file
7
scripts/gpg.integrate-ssh.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
gpg-connect-agent updatestartuptty /bye
|
||||
set SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
||||
export SSH_AUTH_SOCK
|
||||
set GPG_TTY (tty)
|
||||
export GPG_TTY
|
||||
Reference in New Issue
Block a user