From 957d0e91dcf6badf3b966b7a492ea2f839abb680 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Thu, 30 Jan 2025 18:08:06 +0100 Subject: [PATCH] fish: Create ~/.ssh if missing --- tree/.config/fish/functions/fish_ssh_agent.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/tree/.config/fish/functions/fish_ssh_agent.fish b/tree/.config/fish/functions/fish_ssh_agent.fish index 5960b75..0cd3f12 100644 --- a/tree/.config/fish/functions/fish_ssh_agent.fish +++ b/tree/.config/fish/functions/fish_ssh_agent.fish @@ -23,6 +23,7 @@ end function fish_ssh_agent --description "Start ssh-agent if not started yet, or uses already started ssh-agent." if test -z "$SSH_ENV" + mkdir $HOME/.ssh set -xg SSH_ENV $HOME/.ssh/environment end