aboutsummaryrefslogblamecommitdiffstats
path: root/fish2025/config.fish
blob: b54f3bfa1a8289e946a6ad7fed59cb1e9043d048 (plain) (tree)




















                                                                                                   
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