feat: add ~/.npm-global/bin to PATH

This commit is contained in:
2025-06-29 15:14:08 +08:00
parent 13b69ccc95
commit 51b882f2c5

View File

@@ -24,6 +24,9 @@ lib.my.makeSwitch {
prefix = ''${HOME}/.npm-global
registry = https://registry.npmmirror.com
'';
programs.zsh.initContent = lib.mkAfter ''
export PATH=$PATH:$HOME/.npm-global/bin
'';
};
my.persist.homeDirs = [
".npm"