diff options
Diffstat (limited to '.config/fish')
| -rw-r--r-- | .config/fish/config.fish | 30 | ||||
| -rw-r--r-- | .config/fish/fish_plugins | 5 |
2 files changed, 10 insertions, 25 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index f443c23..2f44895 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -3,32 +3,13 @@ # function set_envvars + # source bash profile + bash2env source "$HOME/.config/shell/profile" + # add user bin directory to path if test -d "$HOME/.local/bin" fish_add_path "$HOME/.local/bin" end - - # xdg dirs - set -gx XDG_DATA_HOME "$HOME/.local/share" - set -gx XDG_CONFIG_HOME "$HOME/.config" - set -gx XDG_STATE_HOME "$HOME/.local/state" - set -gx XDG_CACHE_HOME "$HOME/.cache" - if not set -q XDG_DATA_DIRS - set -gx XDG_DATA_DIRS "/usr/local/share/:/usr/share/" - end - set -gx XDG_CONFIG_DIRS "/etc/xdg" - - # default programs - set -gx EDITOR 'nvim' - set -gx VISUAL 'nvim' - set -gx GPG_TTY (tty) - - # paths - set -gx CARGO_HOME "$XDG_DATA_HOME/cargo" - set -gx RUSTUP_HOME "$XDG_DATA_HOME/rustup" - set -gx LESSHISTFILE "$XDG_STATE_HOME/less/history" - set -gx NPM_CONFIG_USERCONFIG "$XDG_CONFIG_HOME/npm/npmrc" - end function load_plugins @@ -36,7 +17,10 @@ function load_plugins echo 'bootstrapping fisher' curl -sL https://git.io/fisher | source && fisher update end - fish_logo + + if command -q zoxide + zoxide init fish | source + end end if status is-login diff --git a/.config/fish/fish_plugins b/.config/fish/fish_plugins index f3407ae..0f0f3c6 100644 --- a/.config/fish/fish_plugins +++ b/.config/fish/fish_plugins @@ -1,4 +1,5 @@ jorgebucaran/fisher jorgebucaran/hydro -laughedelic/fish_logo -andreiborisov/sponge +ehfive/fish-bash2env +jorgebucaran/autopair.fish +nickeb96/puffer-fish |
