dotfiles/config/fish/config.fish (view raw)
| 1 | set -gx GOPATH $HOME/go |
| 2 | set -gx GOBIN $GOPATH/bin |
| 3 | |
| 4 | set -gx CARGO_HOME $HOME/.local/share/cargo |
| 5 | set -gx LEDGER_FILE "$HOME/org/finance/"(date +%Y)".journal" |
| 6 | set -gx NIX_PATH $HOME/.local/nix |
| 7 | set -gx OPAMROOT $HOME/.local/share/opam |
| 8 | set -gx RIPGREP_CONFIG_PATH $HOME/.config/rgrc |
| 9 | set -gx RUSTUP_HOME $HOME/.local/share/rustup |
| 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 |