$ git clone git@github.com:ToRapture/configs.git
$ cd configs
$ export CONFIG_REPO=$(realpath .)
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
$ cd ~ && rm -f .vimrc && ln -s $CONFIG_REPO/vim/.vimrc ./
$ vim +PluginInstall +qall
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
$ cd ~ && rm -f .zshrc && ln -s $CONFIG_REPO/zsh/.zshrc ./
$ cd ~ && rm -f .p10k.zsh && ln -s $CONFIG_REPO/zsh/.p10k.zsh ./
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
$ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
$ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
$ $CONFIG_REPO/git/gitconfig.sh
On Windows, you should set environment variable LESSCHARSET
to utf-8
to correctly display Chinese on git log.
Fonts:
Use CaskaydiaCove NF Mono
for Windows Terminal.
Need to install brew first on non-Windows operating systems.
> .\powershell\setup.ps1
Download the Advanced Font Settings
plugin and set fonts.
Standard
:Noto Sans CJK SC
Serif
:Noto Serif CJK SC
Sans-Serif
:Noto Sans CJK SC
Fixed
:Hack
Standard
:Noto Sans CJK SC
Serif
:Noto Serif CJK SC
Sans-Serif
:Noto Sans CJK SC
Fixed
:Hack
Standard
:Noto Sans CJK TC
Serif
:Noto Serif CJK TC
Sans-Serif
:Noto Sans CJK TC
Fixed
:Hack
Standard
:Noto Sans CJK JP
Serif
:Noto Serif CJK JP
Sans-Serif
:Noto Sans CJK JP
Fixed
:Hack
$ mkdir -p ~/.config/terminator && cd ~/.config/terminator && ln -s $CONFIG_REPO/terminator/config ./