summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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