

GitHub - yous/dotfiles: /home/@yous
source link: https://github.com/yous/dotfiles
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
dotfiles
@yous' dotfiles.
Table of Contents
Requirements
Installation
Clone this repository:
git clone https://github.com/yous/dotfiles.git
cd dotfiles
For available install options:
./install.sh
link
Install symbolic links
antibody
Install Antibody
brew
Install Homebrew
formulae
Install Homebrew formulae using Brewfile
npm
Install global Node.js packages
pwndbg
Install pwndbg
pyenv
Install pyenv with pyenv-virtualenv
rbenv
Install rbenv
rvm
Install RVM
weechat
Install WeeChat configuration
z
Install z
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 = [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.
Homebrew
If you want to install Homebrew,
./install.sh brew
Then install Homebrew formulae with:
./install.sh formulae
Ruby
chruby
If you want to install chruby, if you're on macOS,
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 macOS,
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 macOS,
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 macOS,
brew install getantibody/tap/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
(npm install -g csslint
) - HTML (JSHint):
./install npm
(npm install -g jshint
) - JavaScript (JSHint, JSLint):
./install npm
(npm install -g jshint jslint
) - JSON (JSONLint):
./install npm
(npm install -g jsonlint
) - Ruby (RuboCop, ruby-lint):
gem install rubocop ruby-lint
- SASS:
gem install sass
- SCSS:
gem install sass scss-lint
- xHTML (JSHint):
./install npm
(npm install -g jshint
)
WeeChat
To install WeeChat configuration,
./install.sh weechat
Then install scripts:
/script install autosort.py buffers.pl colorize_nicks.py iset.pl
To update WeeChat scripts:
/script update
/script upgrade
Tools
pwndbg
If you want to install pwndbg,
./install.sh pwndbg
z
If you want to install z, if you're on macOS,
brew install z
Otherwise,
./install.sh z
IntelliJ, Android Studio
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.
iTerm2
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.
License
Copyright © Chayoung You. See LICENSE.txt for details.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK