qinxij / dot_rc

my dot_rc files.

Home Page:http://qinxij.github.io/dot_rc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration of OS X/Ubuntu


What's in

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.

homebrew

  • Install homebrew, see homebrew.

    ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
    	
    

Ruby

  • 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
    

oh-my-zsh

  • Install oh-my-zsh - see oh-my-zsh

    curl -L http://install.ohmyz.sh | sh
    
  • Install fzf - see fzf.

    git clone https://github.com/junegunn/fzf.git ~/.fzf
    ~/.fzf/install
    
  • Install autojump or j - see autojump

    OS X:

    brew install autojump
    

    Ubuntu:

    sudo apt-get install autojump
    
  • Install zgen - see zgen

    git clone https://github.com/tarjoilija/zgen.git ~/.zgen
    

Python

  • Install pip. See pip and pip installing.

    curl https://bootstrap.pypa.io/get-pip.py | python
    
  • pip sources.

    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 and IPython nodebook see Here

    pip install pyzmq jinja2 tornado ipython
    

NodeJS

  • Install nvm, see github/nvm.

    curl https://raw.githubusercontent.com/creationix/nvm/v0.8.0/
    install.sh | sh
    
  • Install node, see node

    nvm install 0.11.13
    nvm alias default 0.11.13
    nvm use 0.11.13
    

Usage

  • Just Run:

    ./generate_links.sh
    

About

my dot_rc files.

http://qinxij.github.io/dot_rc/


Languages

Language:CSS 62.6%Language:HTML 21.1%Language:Shell 16.1%Language:JavaScript 0.2%