@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 | 
| asdf | Install asdf | 
| brew | Install Homebrew on macOS (or Linux) | 
| chruby | Install chruby | 
| formulae | Install Homebrew formulae using Brewfile | 
| mise | Install mise | 
| n | Install n | 
| pwndbg | Install pwndbg | 
| pyenv | Install pyenv with pyenv-virtualenv | 
| rbenv | Install rbenv | 
| ruby-install | Install ruby-install | 
| rustup | Install rustup | 
| rvm | Install RVM | 
| weechat | Install WeeChat configuration | 
In Windows, use install.bat. It links files into the user's home directory.
Set user-specific configurations on ~/.gitconfig.user:
[user]
	name = Your Name
	email = [email protected]If 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 Gmail for git send-email,
[sendemail]
	smtpEncryption = tls
	smtpServer = smtp.gmail.com
	smtpServerPort = 587
	smtpUser = [email protected]For more information, see the documentation for git-send-email.
Set local-specific configurations on ~/.gitconfig.local:
[merge]
	conflictStyle = zdiff3
[includeIf "gitdir:~/to/group/"]
	path = /path/to/foo.incFor more information, see conditional includes section in the git-config documentation.
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 or Homebrew on Linux,
./install.sh brewThen install Homebrew formulae with:
./install.sh formulaeIf you want to install asdf,
./install.sh asdfThen install Node.js, Python, Ruby with:
asdf plugin add nodejs
asdf install nodejs latest:"$(asdf nodejs resolve lts)"
asdf plugin add python
asdf install python latest
asdf plugin add ruby
asdf install ruby latestThen set global defaults:
asdf global nodejs latest:"$(asdf nodejs resolve lts)"
asdf global python latest
asdf global ruby latestIf you want to install mise,
./install.sh miseThen install Node.js, Python, Ruby with:
mise install node@lts
mise install python
mise install rubyThen set global defaults:
mise use --global node@lts
mise use --global python@latest
mise use --global ruby@latestIf you want to install chruby, if you're on macOS,
brew install ruby-install
brew install chrubyOtherwise, install ruby-install first, if you're on Arch Linux,
yaourt -S ruby-installOtherwise,
./install.sh ruby-installThen install chruby,
./install.sh chrubyIf you want to install RVM,
./install.sh rvmUpdate RVM with:
rvm get stableIf you want to install rbenv,
./install.sh rbenvIf you want to install rustup,
./install.sh rustupInstall several utilities using cargo:
cargo install cargo-binstall
cargo binstall -y bat bottom cargo-update fd-find ripgrepIf you want to install pyenv and pyenv-virtualenv,
./install.sh pyenvIf you want to install n,
./install.sh nThen install Node.js with:
n ltsTo 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:
zinit update --allTo update Zinit itself:
zinit self-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 or Universal Ctags to use vim-gutentags. You should install Node.js to use coc.nvim.
To update Vim plugins:
:PlugUpdate
To update vim-plug:
:PlugUpgrade
For additional syntax checkers for coc.nvim, ALE, or Syntastic:
- C, C++
- clang-check: brew install llvm
- clang-tidy: brew install llvm
- clangd: brew install llvm
- cppcheck: brew install cppcheck
 
- clang-check: 
- CSS
- stylelint: npm install -g stylelint stylelint-config-standard
 
- stylelint: 
- JavaScript
- ESLint: npm install -g eslint
 
- ESLint: 
- JSON
- JSONLint: npm install -g jsonlint
 
- JSONLint: 
- Python
- Flake8: pip install flake8
- isort: pip install isort
- Jedi: pip install jedi
- Pyright: pip install pyright
- Ruff: pip install ruff
 
- Flake8: 
- Ruby
- RuboCop: gem install rubocop
- Solargraph: gem install solargraph
- Standard: gem install solargraph-standardrb standard
 
- RuboCop: 
- Rust
- rust-analyzer: rustup component add rust-analyzer
 
- rust-analyzer: 
- SASS, SCSS
- stylelint: npm install -g stylelint stylelint-config-sass-guidelines
 
- stylelint: 
- Vim
- Vint: pip install vim-vint
 
- Vint: 
To use Python 2 or 3 via pyenv in Neovim,
pyenv install 2.7.18
pyenv virtualenv 2.7.18 neovim2
pyenv activate neovim2
pip install pynvim
pyenv install 3.8.2
pyenv virtualenv 3.8.2 neovim3
pyenv activate neovim3
pip install pynvimTo use Ruby in Neovim,
gem install neovimTo use Node.js in Neovim,
npm install -g neovimTo install WeeChat configuration,
./install.sh weechatThen install scripts:
/script install autosort.py buffers.pl colorize_nicks.py iset.pl
To update WeeChat scripts:
/script update
/script upgrade
If you want to install pwndbg,
./install.sh pwndbgTo use Tomorrow Theme:
- Download JetBrains/settings.jarfrom chriskempson/tomorrow-theme.
- Open File > Import Settings… in IntelliJ or Android Studio.
- Select downloaded settings.jar.
- Open Settings > Editor > Colors Scheme.
- Select one of Tomorrow Theme.
To use Tomorrow Theme:
- Download schemes/Tomorrow*.itermcolorsfrom mbadolato/iTerm2-Color-Schemes.
- Open Preferences… > Profiles > Colors.
- Click 'Load Presets…' and select 'Import…'.
- Select downloaded Tomorrow*.itermcolors.
- Click 'Load Presets…' again and select one of Tomorrow Theme.
Copyright © Chayoung You. See LICENSE.txt for details.