@yous' dotfiles.
Clone this repository:
git clone https://github.com/yous/dotfiles.git
cd dotfilesFor available install options:
./install.sh| Command option | Description |
|---|---|
link |
Install symbolic links |
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 gitconfig, gitignore_global, vimrc
to the user's home directory.
Set user-specific configurations on ~/.gitconfig.local:
[user]
name = Your Name
email = you@example.comIf you are using a public PGP key:
[user]
signingkey = YOUR KEYYou can also sign your each commit automatically:
[commit]
gpgsign = trueFor 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 updateVisit the PPA of Git for Ubuntu for more information.
If you want to install Homebrew,
./install.sh brewThen install Homebrew formulae with:
rvm use system # To compile Vim with Ruby support
./install.sh formulaeIf you want to install chruby, if you're on OS X,
brew install ruby-install
brew install chrubyOtherwise, install ruby-install first, if you're on Arch Linux,
yaourt -S ruby-installOtherwise,
wget -O ruby-install-0.6.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.6.0.tar.gz
tar -xzvf ruby-install-0.6.0.tar.gz
cd ruby-install-0.6.0/
sudo make installThen 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 installIf you want to install RVM,
./install.sh rvmUpdate RVM with:
rvm get stableIf you want to install rbenv, if you're on OS X,
brew install rbenvOtherwise,
./install.sh rbenvIf you are using RVM,
gem update --system
rvm use current@global
gem install bundler rubocop ruby-lint wirbleOtherwise just install gems:
gem update --system
gem install bundler rubocop ruby-lint wirbleIf you want to install pyenv and pyenv-virtualenv, if you're on OS X,
brew install pyenv
brew install pyenv-virtualenvOtherwise,
./install.sh pyenvTo use Zsh as default shell,
chsh -s /bin/zshIf you use custom Zsh like compiled one by Homebrew, add
/usr/local/bin/zsh to /etc/shells and
chsh -s /usr/local/bin/zshTo update Zsh plugins:
zplug updateTo 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/zshrcTo install Vim plugins,
:PlugInstall
You should install Exuberant Ctags to use taglist.vim.
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
To use Tomorrow Theme:
- Open File > Import Settings… in IntelliJ or Android Studio.
- Select
tomorrow-theme/JetBrains/settings.jar. - Open Settings > Editor > Colors & Fonts.
- Select a scheme of Tomorrow Theme.
To use Tomorrow Theme:
- Open Preferences… > Profiles > Colors.
- Click 'Load Presets…' and select 'Import…'.
- Select
*.itermcolorsfiles undertomorrow-theme/iTerm2/. - Click 'Load Presets…' again and select one of Tomorrow Theme.