summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-12-04 20:06:40 +0100
committerPatrick Simianer <p@simianer.de>2015-12-04 20:06:40 +0100
commit40651462ad3080a420ffa42aeb87bf34a2362f39 (patch)
tree13a0c9043eea8d0356f4a23de24417fd55a4c336
parentfa1674587e12254c9ea52bbb58e3d12764ffcdf8 (diff)
nodejs
-rw-r--r--.npmrc1
-rw-r--r--.zshrc3
2 files changed, 3 insertions, 1 deletions
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