aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/config.fish
blob: 8e00871cd65f5be89505127ef1647cc153e25554 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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