0xsaika / dotfiles

setup files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Build Status

@yous' dotfiles.

Requirements

Install

Clone this repository:

git clone https://github.com/yous/dotfiles.git
cd dotfiles

For available install options:

./install.sh
Command option Description
link Install symbolic links
antibody Install Antibody
brew Install Homebrew
formulae Install Homebrew formulae using Brewfile
npm Install global Node.js packages
pyenv Install pyenv with pyenv-virtualenv
rbenv Install rbenv
rvm Install RVM

In Windows, use install.bat. It links files into the user's home directory.

Git

Set user-specific configurations on ~/.gitconfig.local:

[user]
	name = Your Name
	email = you@example.com

If you are using a public PGP key:

[user]
	signingkey = YOUR KEY

You can also sign your each commit automatically:

[commit]
	gpgsign = true

For more information about signing commits, see A Git Horror Story: Repository Integrity With Signed Commits.

If you want to use latest release of Git for Ubuntu:

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update

Visit the PPA of Git for Ubuntu for more information.

Homebrew

If you want to install Homebrew,

./install.sh brew

Then install Homebrew formulae with:

rvm use system # To compile Vim with Ruby support
./install.sh formulae

Ruby

chruby

If you want to install chruby, if you're on OS X,

brew install ruby-install
brew install chruby

Otherwise, install ruby-install first, if you're on Arch Linux,

yaourt -S ruby-install

Otherwise,

wget -O ruby-install-0.6.1.tar.gz https://github.com/postmodern/ruby-install/archive/v0.6.1.tar.gz
tar -xzvf ruby-install-0.6.1.tar.gz
cd ruby-install-0.6.1/
sudo make install

Then install chruby,

wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
tar -xzvf chruby-0.3.9.tar.gz
cd chruby-0.3.9/
sudo make install

RVM

If you want to install RVM,

./install.sh rvm

Update RVM with:

rvm get stable

rbenv

If you want to install rbenv, if you're on OS X,

brew install rbenv

Otherwise,

./install.sh rbenv

Gems

If you are using RVM,

gem update --system
rvm use current@global
gem install bundler rubocop ruby-lint wirble

Otherwise just install gems:

gem update --system
gem install bundler rubocop ruby-lint wirble

Python

If you want to install pyenv and pyenv-virtualenv, if you're on OS X,

brew install pyenv
brew install pyenv-virtualenv

Otherwise,

./install.sh pyenv

Zsh

To use Zsh as default shell,

chsh -s /bin/zsh

If you use custom Zsh like compiled one by Homebrew, add /usr/local/bin/zsh to /etc/shells and

chsh -s /usr/local/bin/zsh

To update Zsh plugins:

antibody update

To make RVM works with Vim on OS X Yosemite or earlier, move /etc/zshenv to /etc/zshrc as Tim Pope mentioned.

sudo mv /etc/zshenv /etc/zshrc

Antibody

If you want to install Antibody, if you're on OS X,

brew tap getantibody/homebrew-antibody
brew install antibody

Otherwise,

./install.sh antibody

Vim

To install Vim plugins,

:PlugInstall

You should install Exuberant Ctags to use vim-easytags. You should install CMake to use YouCompleteMe.

To update Vim plugins:

:PlugUpdate

To update vim-plug:

:PlugUpgrade

For additional syntax checkers for Syntastic:

  • CSS (CSSLint): ./install npm
  • HTML (JSHint): ./install npm
  • JavaScript (JSHint, JSLint): ./install npm
  • JSON (JSONLint): ./install npm
  • Ruby (RuboCop, ruby-lint): gem install rubocop ruby-lint
  • SASS: gem install sass
  • SCSS: gem install sass scss-lint
  • xHTML (JSHint): ./install npm

IntelliJ, Android Studio

To use Tomorrow Theme:

  1. Open File > Import Settings… in IntelliJ or Android Studio.
  2. Select tomorrow-theme/JetBrains/settings.jar.
  3. Open Settings > Editor > Colors & Fonts.
  4. Select a scheme of Tomorrow Theme.

iTerm2

To use Tomorrow Theme:

  1. Open Preferences… > Profiles > Colors.
  2. Click 'Load Presets…' and select 'Import…'.
  3. Select *.itermcolors files under tomorrow-theme/iTerm2/.
  4. Click 'Load Presets…' again and select one of Tomorrow Theme.

About

setup files


Languages

Language:Perl 57.4%Language:Python 16.7%Language:Vim Script 14.9%Language:Shell 10.5%Language:Batchfile 0.3%Language:Ruby 0.2%