Skip to content

Instantly share code, notes, and snippets.

@voznik
Forked from dmccombs/config.fish
Created June 23, 2020 08:22
Show Gist options
  • Save voznik/2e126cf135e6237dd19887d887c33fd9 to your computer and use it in GitHub Desktop.
Save voznik/2e126cf135e6237dd19887d887c33fd9 to your computer and use it in GitHub Desktop.
A simple way to use the GNOME keyring for SSH key managment in fish shell
# Add this to the bottom of your config.fish file
# Set SSH to use Gnome keyring
set -gx SSH_AUTH_SOCK (gnome-keyring-daemon --start | grep "^SSH_AUTH_SOCK" | awk -F "=" '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment