summaryrefslogtreecommitdiff
path: root/dot-config/fish/config.fish
blob: 849276c4278664cb53d86acf940065027f8f8af7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if status is-interactive
    [ (tty) = /dev/tty1 ] && exec niri-session
end

function fish_greeting
end

fish_add_path "$HOME/.local/bin"

alias e nvim
alias lg lazygit

set -x SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/yubikey-agent/yubikey-agent.sock"

set -x VISUAL nvim
set -x EDITOR nvim

set -x GOPATH "$HOME/.local/share/go"
fish_add_path "$GOPATH/bin"