mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 01:37:14 +01:00
add npmrc file: switch to euro registry and make npm less noisy
This commit is contained in:
parent
b1eec3ddfa
commit
a961457441
8
make.sh
8
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
|
||||
|
6
npmrc
Normal file
6
npmrc
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
# Use european registry to be faster
|
||||
registry = http://registry.npmjs.eu
|
||||
|
||||
# Make npm less noisy
|
||||
loglevel = warn
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user