Add .npmrc and a note in README.md

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-05-13 18:50:28 +03:00
parent 705e10f0c0
commit 5d728f6620
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 5 additions and 0 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
prefix=${HOME}/.npm-packages

View File

@ -12,6 +12,7 @@ $ ln -sf ~/src/git/dotfiles/.vimrc .
$ ln -sf ~/src/git/dotfiles/.tmux.conf . $ ln -sf ~/src/git/dotfiles/.tmux.conf .
$ ln -sf ~/src/git/dotfiles/.dircolors.ansi-dark . $ ln -sf ~/src/git/dotfiles/.dircolors.ansi-dark .
$ ln -sf ~/src/git/dotfiles/.zshrc . $ ln -sf ~/src/git/dotfiles/.zshrc .
$ ln -sf ~/src/git/dotfiles/.npmrc .
``` ```
### .bashrc ### .bashrc
@ -26,6 +27,9 @@ Syntax highlighting, Solarized color scheme, tab stops to 4 spaces, etc.
### .zshrc ### .zshrc
Configures a custom prompt, adds paths for pkgsrc on Mac OS X, sets up pyenv, adds aliases, Solarized dircolors, etc. Configures a custom prompt, adds paths for pkgsrc on Mac OS X, sets up pyenv, adds aliases, Solarized dircolors, etc.
### .npmrc
Configures a local npm package directory (so I can `npm install -g` without needing sudo)
### License ### License
Copyright (C) 2015 Alan Orth Copyright (C) 2015 Alan Orth