This is a repository contains some configuration files for OS X/Ubuntu.
Include:
- .pip/pip.config
- .gitconfig
- .tmux.conf
- .vimperatorrc
- .zshrc
- kde_global_keyboard_shortcuts.kksrc
etc.
-
Install
homebrew
, see homebrew.ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
-
Install
rvm
, see rvm website.curl -L https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable --autolibs=enabled
or
curl -sSL https://get.rvm.io | bash -s stable
-
Replace
gem sources
# replace the gem sources gem sources -r https://rubygems.org/ gem sources -a https://ruby.taobao.org/ # gem sources -l 用来查看source list
-
Install
ruby
rvm install 2.0
-
Install
rails
[sudo] gem install rails
-
Install
oh-my-zsh
- see oh-my-zshcurl -L http://install.ohmyz.sh | sh
-
Install
fzf
- see fzf.git clone https://github.com/junegunn/fzf.git ~/.fzf ~/.fzf/install
-
Install
autojump
orj
- see autojumpOS X:
brew install autojump
Ubuntu:
sudo apt-get install autojump
-
Install
zgen
- see zgengit clone https://github.com/tarjoilija/zgen.git ~/.zgen
-
Install pip. See pip and pip installing.
curl https://bootstrap.pypa.io/get-pip.py | python
-
pip sources.
-
See evernote (使用国内镜像源来加速python pypi包的安装).
In file
~/.pip/pip.conf
:[global] index-url = http://mirrors.aliyun.com/pypi/simple/
-
Install
virtualenvwrapper
. See virtualenvwrapper on Bitbucket.pip install virtualenvwrapper
-
Install
IPython
andIPython nodebook
see Herepip install pyzmq jinja2 tornado ipython
-
Install
nvm
, see github/nvm.curl https://raw.githubusercontent.com/creationix/nvm/v0.8.0/ install.sh | sh
-
Install
node
, see nodenvm install 0.11.13 nvm alias default 0.11.13 nvm use 0.11.13
-
Just Run:
./generate_links.sh