mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-06-10 23:04:37 +02:00
add anki and npm global path
This commit is contained in:
parent
221b97343d
commit
54dd4444fc
2 changed files with 4 additions and 0 deletions
programs
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue