aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/config.fish
blob: a3a826049ed08c7e573adc3d578599124637aa7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if status is-interactive
    # Commands to run in interactive sessions can go here
  set -gx EDITOR nvim
  set -gx GPG_TTY (tty)
  set -gx LEDGER_FILE $HOME/Budget/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