Eric Bower
·
2025-08-28
config.fish
1fish_config theme choose "dracula"
2
3fish_add_path ~/.deno/bin ~/.yarn/bin ~/go/bin ~/.npm-packages/bin ~/bin /usr/local/go/bin ~/.cargo/bin ~/neovim/bin
4
5switch (uname)
6 case Darwin
7 fish_add_path /opt/homebrew/opt/node@20/bin
8 fish_add_path /opt/homebrew/bin
9 fish_add_path ~/.local/bin
10 case Linux
11 if status --is-interactive
12 keychain --eval --quiet --agents ssh,gpg ~/.ssh/id_ed25519 76D3FD02 | source
13 end
14
15 set -xg OLLAMA_API_BASE "http://192.168.88.224:11434"
16 case '*'
17 # do things for other OSs
18end
19
20# remove fish greeting
21set -U fish_greeting
22set -xg LANG en_US.UTF-8
23set -xg EDITOR nvim
24set -xg VISUAL nvim
25set -xg GPG_TTY (tty)
26set -xg XDG_CONFIG_HOME ~/.config
27set -xg VDIRSYNCER_CONFIG ~/.config/vdirsyncer/config
28set -xg MDIR ~/mail
29
30abbr -a pushall "git remote | xargs -I R git push R"
31abbr -a scratch nvim ~/scratch.md
32abbr -a rcp rsync -avzu --progress
33abbr -a sway sway --unsupported-gpu
34abbr -a notes nvim -c '"cd ~/dotfiles/notes"' ~/dotfiles/notes
35abbr -a tre "eza --tree --color=always --git-ignore -L 2"
36abbr -a pp PA_DIR=/home/erock/dev/pico/pico-pass pa
37abbr -a logs "ssh pipe sub /pico/log-drain -k | jq -r"
38abbr -a ash "autossh -M 0"
39abbr -a pdb "ssh -L 5432:localhost:5432 pico.ash.0"
40abbr -a ai "aider --model ollama_chat/deepseek-r1:14b --code-theme dracula"
41
42if type -q zoxide
43 zoxide init fish | source
44end
45
46if type -q direnv
47 direnv hook fish | source
48end