diff --git a/.config/fish/config.fish b/.config/fish/config.fish index a9a5f31..3596ce7 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -88,7 +88,7 @@ else end # Node - if command -v npm &> /dev/null + if command -q npm set -x NODE_PATH (npm root -g) end @@ -118,7 +118,7 @@ else end # kitty - # if command --search kitty &> /dev/null + # if command -q kitty # kitty + complete setup fish | source # end @@ -156,7 +156,7 @@ else # set -gx PATH $PATH $HOME/.yarn/bin $HOME/.config/yarn/global/node_modules/.bin # end - if command -q starship &> /dev/null + if command -q starship starship init fish | source end