From 40651462ad3080a420ffa42aeb87bf34a2362f39 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 4 Dec 2015 20:06:40 +0100 Subject: nodejs --- .npmrc | 1 + .zshrc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..a6c33bf --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +root=/home/pks/lib/node diff --git a/.zshrc b/.zshrc index 523e39d..01c9cdd 100644 --- a/.zshrc +++ b/.zshrc @@ -104,7 +104,7 @@ case `hostname` in ;; x) PROMPT="[%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} " - PATH=/usr/lib/colorgcc/bin:~/src/scripts:$PATH + PATH=/usr/lib/colorgcc/bin:~/src/scripts:~/lib/node/bin:$PATH ;; pi*|*.uberspace.de) PROMPT="[%m:%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} " @@ -189,6 +189,7 @@ alias my_ip='echo "$(curl 'https://api.ipify.org' 2>/dev/null)"' alias t_timeline='while true; do clear; t timeline -n 13 -C icon; sleep 600; done' alias cal='while true; do clear; echo; khal calendar; sleep 600; done' alias gitc='git -c color.status=always' +alias npm_install='npm install -g --prefix ./lib/node' if [[ -f ~/.zshrcp ]]; then source ~/.zshrcp fi -- cgit v1.2.3