add anki and npm global path

This commit is contained in:
Thilo Billerbeck 2023-10-04 02:09:37 +02:00
parent 221b97343d
commit 54dd4444fc
2 changed files with 4 additions and 0 deletions
programs

View file

@ -45,6 +45,9 @@ in {
};
initExtra = ''
eval $(${pkgs.thefuck}/bin/thefuck --alias)
[ -d ~/.npm-global ] || mkdir ~/.npm-global
${pkgs.nodejs}/bin/npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
'';
};
}