all repos

dotfiles @ 72228fe

i use rach linux btw

dotfiles/config/fish/config.fish (view raw)

1
set -gx GOPATH $HOME/go
2
set -gx GOBIN $GOPATH/bin
3
4
set -gx OPAMROOT $HOME/.local/share/opam
5
set -gx CARGO_HOME $HOME/.local/share/cargo
6
set -gx RUSTUP_HOME $HOME/.local/share/rustup
7
8
set -gx NIX_PATH $HOME/.local/nix
9
set -gx LEDGER_FILE "$HOME/org/finance/"(date +%Y)".journal"
10
11
fish_add_path -g $GOBIN
12
fish_add_path -g $CARGO_HOME/bin
13
fish_add_path -g $HOME/bin
14
fish_add_path -g $HOME/.local/bin
15
fish_add_path -g $HOME/.bun/bin
16
fish_add_path -g ~/.local/share/mise/shims
17
fish_add_path -P node_modules/.bin
18
19
if type -q nvim
20
  set -gx EDITOR nvim
21
  set -gx VISUAL nvim
22
end
23
24
if status is-interactive
25
  zoxide init fish | source
26
  direnv hook fish | source
27
28
  function fish_user_key_bindings
29
    fish_vi_key_bindings
30
  end
31
end