feat: add ~/.npm-global/bin to PATH
This commit is contained in:
@@ -24,6 +24,9 @@ lib.my.makeSwitch {
|
|||||||
prefix = ''${HOME}/.npm-global
|
prefix = ''${HOME}/.npm-global
|
||||||
registry = https://registry.npmmirror.com
|
registry = https://registry.npmmirror.com
|
||||||
'';
|
'';
|
||||||
|
programs.zsh.initContent = lib.mkAfter ''
|
||||||
|
export PATH=$PATH:$HOME/.npm-global/bin
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
my.persist.homeDirs = [
|
my.persist.homeDirs = [
|
||||||
".npm"
|
".npm"
|
||||||
|
|||||||
Reference in New Issue
Block a user