From f4f678d4c76751abcae45cd36e430d0bd767368e Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 24 Jan 2023 04:58:39 -0500 Subject: improve shell configs --- .config/fish/config.fish | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to '.config/fish/config.fish') diff --git a/.config/fish/config.fish b/.config/fish/config.fish index d51d808..0ee4928 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -6,9 +6,14 @@ 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" + set -l paths "$HOME/.local/bin" \ + "$HOME/.local/share/nvim/mason/bin" + + # add user directories to path + for path in $paths + if test -d $path + fish_add_path $path + end end end @@ -30,6 +35,6 @@ end if status is-interactive || status is-login load_plugins set_envvars -else - set_envvars end + +set_envvars -- cgit v1.2.3