From 1aea450add5f9463a89d3e0cc15290587f0f9f79 Mon Sep 17 00:00:00 2001 From: liv Date: Wed, 14 Jun 2023 14:13:08 +0200 Subject: [PATCH] add keychain config --- dot_config/fish/config.fish | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index b154bfe..083a9fa 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -103,3 +103,9 @@ if test -e /nix . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish set -x NIX_PATH "$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels" end + +# Load keychain if installed +if command --search keychain > /dev/null + keychain -q --nogui $HOME/.ssh/id_ed25519 + . $HOME/.keychain/$HOST-fish +end