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