From d1de43de40efb31597a31b0ee63ca2adbc9b386b Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 12 Aug 2019 18:08:37 +0200 Subject: [PATCH] Make node stuff work --- shells/zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index c51dc8c..1439f0c 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -108,5 +108,9 @@ export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" export PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH" export PATH="$HOME/.guix-profile/bin${PATH:+:}$PATH" +export NPM_PACKAGES="${HOME}/.npm-packages" +export NODE_PATH="${NPM_PACKAGES}/lib/node_modules:$NODE_PATH" +export PATH="${NPM_PACKAGES}/bin:$PATH" + TIMEFMT=$'\nreal\t%*E\nuser\t%*U\nsys\t%*S\nmaxmem\t%M MB\nfaults\t%F' # vim: set filetype=zsh ts=4 sw=4 tw=0 et :