aboutsummaryrefslogtreecommitdiffstats
path: root/fish2025/config.fish
blob: b54f3bfa1a8289e946a6ad7fed59cb1e9043d048 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if status is-interactive
    # go for a bar cursor in xterm - if you do this when doing non-interactive stuff, it will break
    # the output of the command and you cannot use the pachelbel jump server.
    echo -e -n "\x1b[\x36 q"
        # Commands to run in interactive sessions can go here
end

set fish_greeting ""

if not contains "$HOME/.local/bin" $PATH
    # Prepending path in case a system-installed binary needs to be overridden
    set -x PATH "$HOME/.local/bin" $PATH
end

set -gx GPG_TTY (tty)
set -gx SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent

# make sure direnv is loaded
direnv hook fish | source