Skip to content

shunyaoshih/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My configuration files.

Environment

macOS Catalina

Install

$ cd ~; git clone https://github.com/gantheory/dotfiles.git

macOS

$ xcode-select --install
$ ./install_homebrew.sh

Neovim

$ ln -s ~/dotfiles/nvim ~/.config/nvim
# Python 3 provider for Neovim.
$ brew install python3
$ pip3 install pynvim
$ brew install neovim
$ nvim +PlugInstall +qall

Formatter

# For C, C++, proto, JavaScript, and Arduino.
$ brew install clang-format
# For Python.
$ brew install yapf
# For CSS, JSON, GraphQL, Markdown, YAML.
$ brew install prettier

Fish

$ ln -s ~/dotfiles/fish ~/.config/fish
$ brew install fish
# add /usr/local/bin/fish to /etc/shells
$ chsh -s /usr/local/bin/fish

Tmux

$ ln -s ~/dotfiles/tmux/tmux.conf ~/.tmux.conf
$ brew install tmux
$ tmux
$ tmux source ~/.tmux.conf

iTerm2

$ brew install --cask font-hack-nerd-font iterm2
  • Load iTerm2 settings: Preferences... => General => Load preferences from a custom folder or URL

Cask Apps

$ ./dotfiles/scripts/install_homebrew_cask_apps.sh