Skip to content

Instantly share code, notes, and snippets.

View seanthegeek's full-sized avatar

Sean Whalen seanthegeek

View GitHub Profile
@seanthegeek
seanthegeek / config.fish
Last active February 26, 2025 01:47 — forked from kppullin/config.fish
Fish shell + WSL2 + gnome-keyring / secret-tool
#
# This fish config sets up a working `gnome-keyring` on WSL2.
# I imagine it will work with WSL1 as well, perhaps after adjusting the `DISPLAY` value.
#
# Based off this bash script: https://askubuntu.com/questions/815327/running-gnome-keyring-on-wsl-windows-subsystem-for-linux
# Tested and working with `aws-vault` and `jetbrains-toolbox`.
#
# Be sure your x server is running!!!
set -x DISPLAY (cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0