fish: conf.d/setup: Drop fnm and switch to pnpm
Drop fnm and switch to pnpm for installing npm packages as well as managing node versions. Not using npm i -g has the added nicety of not having a node_modules in /usr/lib.
This commit is contained in:
parent
2db28813c2
commit
d1f66f1b13
1 changed files with 3 additions and 2 deletions
|
@ -23,8 +23,9 @@ function __fish_setup_on_tty_login --description "Set up environment on tty logi
|
|||
end
|
||||
end
|
||||
|
||||
if type -qf fnm
|
||||
fnm env --shell=fish --log-level=quiet | source
|
||||
if test -d {$HOME}/.local/share/pnpm
|
||||
set -gx PNPM_HOME {$HOME}/.local/share/pnpm
|
||||
set -gxp PATH {$HOME}/.local/share/pnpm
|
||||
end
|
||||
|
||||
# Temporary directory for GStreamer dot files
|
||||
|
|
Loading…
Reference in a new issue