diff options
Diffstat (limited to '')
-rw-r--r-- | fish2024/config.fish | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fish2024/config.fish b/fish2024/config.fish index 68f99a3..1aa91d5 100644 --- a/fish2024/config.fish +++ b/fish2024/config.fish @@ -4,4 +4,12 @@ if status is-interactive set -U fish_greeting set -gx LEDGER_FILE $HOME/Budget/hledger/hledger/budget.ledger end + +# https://gist.github.com/josh-padnick/c90183be3d0e1feb89afd7573505cab3 +if test -z (pgrep ssh-agent) + eval (ssh-agent -c) > /dev/null + set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK + set -Ux SSH_AGENT_PID $SSH_AGENT_PID +end + . ~/perl5/perlbrew/etc/perlbrew.fish |