dotfiles/node/node_utils.fish
Marley Rae 52a8da2336 🍻 Fix everything that was broken
Note to self - maybe consider testing things as you write them instead
of just making one thousand edits and then moving on.
2024-01-29 19:54:57 -08:00

11 lines
275 B
Fish

#!/usr/bin/env fish
source "$DOT/script/utils.fish"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function npm_install -a msg pkg
execute \
"source $DOT/node/path.config.fish && npm install --global --silent $pkg" \
"$msg"
end