Below is my shell prompt:
Below is my vim:
Disclaimer: These dotfiles are for my own use. Some of the configuration may not be suitable for you.
$ cd ~
$ git clone https://github.com/whuhacker/dotfiles.git && cd dotfiles
$ rsync --exclude ".git/" --exclude "solarized/" --exclude ".DS_Store" --exclude "README.md" -avh --no-perms . ~
$ source ~/.bash_profile
# don't forget to change your git username and email
$ git config --global user.name "Your Name"
$ git config --global user.email you@company.com
You may want to install some common Homebrew formulae when setting up a new Mac.
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ ./brew.sh
Solarized is precision color scheme for multiple applications (terminal, vim, etc.) with both dark/light modes, which is popular among Mac users. To apply the recommended theme to Terminal.app,
- Double click the
Solarized Dark ansi.terminal
andSolarized Light ansi.terminal
in thesolarized
folder. - Open Teminal.app, select Preferences > Profiles, choose Solarized as the default profile.