diff --git a/make.sh b/make.sh index fc33503..55f479c 100755 --- a/make.sh +++ b/make.sh @@ -1,8 +1,8 @@ #!/bin/bash # -# creates symlinks from the home directory to +# creates symlinks from the home directory to # any desired dotfiles in ~/dotfiles -# +# # adapted from @michaeljsmalley # https://github.com/michaeljsmalley/dotfiles/blob/master/makesymlinks.sh ######################################################################## @@ -14,7 +14,7 @@ # dotfiles directory dir=~/Projects/dotfiles # list of files/folders to symlink in homedir -files="aliases bashrc bash_profile bash_prompt gemrc gitconfig gitignore_global hushlogin private tm_properties generator.json" +files="aliases bashrc bash_profile bash_prompt gemrc gitconfig gitignore_global hushlogin private tm_properties generator.json npmrc" # ---------------------------------------------------------------------- # change to the dotfiles directory @@ -24,7 +24,7 @@ cd $dir echo "...done" # ---------------------------------------------------------------------- -# create symlinks from the homedir to any files in the ~/dotfiles directory +# create symlinks from the homedir to any files in the ~/dotfiles directory # specified in $files # ---------------------------------------------------------------------- for file in $files; do diff --git a/npmrc b/npmrc new file mode 100644 index 0000000..e029c3e --- /dev/null +++ b/npmrc @@ -0,0 +1,6 @@ + +# Use european registry to be faster +registry = http://registry.npmjs.eu + +# Make npm less noisy +loglevel = warn \ No newline at end of file diff --git a/update.sh b/update.sh index 32b9cc5..5081e0f 100755 --- a/update.sh +++ b/update.sh @@ -1,7 +1,7 @@ #!/bin/bash # # Pull in changes and make new symlinks -# +# # adapted from @mathiasbynens & @michaeljsmalley # https://github.com/mathiasbynens/dotfiles/blob/master/bootstrap.sh # https://github.com/michaeljsmalley/dotfiles/blob/master/makesymlinks.sh @@ -14,7 +14,7 @@ # dotfiles directory dir=~/Projects/dotfiles # list of files/folders to symlink in homedir -files="aliases bashrc bash_profile bash_prompt gemrc gitconfig gitignore_global hushlogin private tm_properties generator.json" +files="aliases bashrc bash_profile bash_prompt gemrc gitconfig gitignore_global hushlogin private tm_properties generator.json npmrc" # ---------------------------------------------------------------------- # change to the dotfiles directory @@ -31,7 +31,7 @@ git pull echo "...done" # ---------------------------------------------------------------------- -# create symlinks from the homedir to any files in the ~/dotfiles directory +# create symlinks from the homedir to any files in the ~/dotfiles directory # specified in $files # ---------------------------------------------------------------------- for file in $files; do