Skip to content

Commit

Permalink
user home cleanup gem npm
Browse files Browse the repository at this point in the history
  • Loading branch information
kayw committed Jul 15, 2015
1 parent d2f5f0b commit c556204
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ export HISTIGNORE='&:[ ]*:ls*:cd*:ps*:du*:rm*:cat*'
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/local/lib/ #rustlib node_modules
#export PYTHONPATH=$PYTHONPATH:/home/kayw/share/codebase/hyde/kayw.github.com/extensions/

export RXVT_SOCKET=/tmp/urxvtd-Arch
export GEM_HOME=$HOME/.local/share/.gem
export GEM_HOME=$HOME/fshare/.gem
export GEM_PATH=/usr/lib/ruby/gems/2.2.0
export GEM_SPEC_CACHE=$GEM_HOME/specs
export GRADLE_USER_HOME=$HOME/fshare/.gradle

#http://stackoverflow.com/questions/25433505/go-all-bash-compilation-testing-fails-with-permission-denied
export GOROOT=$HOME/kspace/goroot
export GOPATH=$HOME/kspace/go
export PATH=$PATH:/home/kayw/bin/:$GOROOT/bin:$GOPATH/bin:/usr/local/android-studio/bin:/opt/webstorm/bin
export PATH=$PATH:/home/kayw/bin/:$GOROOT/bin:$GOPATH/bin:/usr/local/android-studio/bin:/opt/webstorm/bin:$GEM_HOME/bin
#http://stackoverflow.com/questions/13830594/when-i-execute-bash-the-path-keeps-repeating-itself
#export PATH=$(echo "$PATH" | awk -v RS=: -v ORS=: '!(a[$0]++)' | sed 's/:$//')

Expand Down
1 change: 1 addition & 0 deletions .gemrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- https://ruby.taobao.org/
:update_sources: true
:verbose: true
"install": "--no-rdoc --no-ri --no-user-install"
4 changes: 2 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#registry = http://registry.cnpmjs.org
registry = https://registry.npm.taobao.org/
registry=https://registry.npm.taobao.org/
cache=/home/kayw/fshare/.npm
#http://fduo.org/pip-gem-npm-chinese-mirror/

0 comments on commit c556204

Please sign in to comment.