Skip to content

Instantly share code, notes, and snippets.

View TallonRain's full-sized avatar

Kyle M. Worthington TallonRain

View GitHub Profile
@TallonRain
TallonRain / config.fish
Last active April 17, 2024 00:32
Set up Fish Shell to use gpg-agent as the SSH agent for Yubikeys and other smart cards
# Add these contents to ~/.config/fish/config.fish
# If using Brew, config.fish is located in /usr/local/Cellar/fish/[version]/etc/fish/
# Generally recommend using the installer from https://fishshell.com instead of brew
# to avoid version updates overwriting the config file
# Start or re-use a gpg-agent.
gpgconf --launch gpg-agent
# Ensure that GPG Agent is used as the SSH agent
set -e SSH_AUTH_SOCK

Keybase proof

I hereby claim:

  • I am tallonrain on github.
  • I am tallonrain (https://keybase.io/tallonrain) on keybase.
  • I have a public key whose fingerprint is 3611 B980 7454 BC6D 8852 F7DC 3984 5093 FAE3 A33B

To claim this, I am signing this object: