diff options
| author | seth <[email protected]> | 2022-01-21 16:47:39 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2022-08-04 04:40:49 -0400 |
| commit | ac74db5a8fa69e5d3047b35f70c65b27dc07cfcb (patch) | |
| tree | 5b6fcdb6cbf7c8c81a8b0a745e013094bdd82793 /.config/fish/config.fish | |
| parent | e5605617b57264069374ea0753c19cd69714df6d (diff) | |
update shell dotfiles
Diffstat (limited to '.config/fish/config.fish')
| -rw-r--r-- | .config/fish/config.fish | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 95657c5..35da1bb 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,14 +1,22 @@ -#!/bin/fish +# +# getchoo's config.fish +# -# defaults -set -Ux VISUAL nvim -set -Ux EDITOR nvim -set -Ux GIT_PAGER moar -set -Ux PAGER moar -# abbrs -abbr dotfiles 'git --git-dir=$HOME/.cfg/ --work-tree=$HOME' -abbr orphans 'sudo pacman -Rns (pacman -Qtdq)' +# add ~/.local/bin to path if the directory exists +function add_local_bin + set -f dir "$HOME/.local/bin" + if test -e $dir; and not contains $dir $PATH + fish_add_path "$HOME/.local/bin" + end +end +add_local_bin -# prompt -starship init fish | source +# default programs +set -gx VISUAL nvim +set -gx EDITOR nvim +set -gx GPG_TTY (tty) + +# paths +set -gx CARGO_HOME "$HOME/.local/share/cargo" +set -gx RUSTUP_HOME "$HOME/.local/share/rustup" |
