@yous' dotfiles.
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 |
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 = [email protected]
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.
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
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.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 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
If you want to install RVM,
./install.sh rvm
Update RVM with:
rvm get stable
If you want to install rbenv, if you're on OS X,
brew install rbenv
Otherwise,
./install.sh rbenv
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
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
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:
zplug 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
To 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
*.itermcolors
files undertomorrow-theme/iTerm2/
. - Click 'Load Presets…' again and select one of Tomorrow Theme.