dotfiles to provision a new macOS with cosy dev setups
This is a dotfiles project which may be used to provision a new macOS with cosy dev setups.
And it is tested with GitHub Actions CI. The checkbox denotes whether it is done by bootstrap
.
More screenshots here.
Inspired by KrauseFx/new-mac.
For Arch Linux, please refer to crispgm/arch-linux-dotfiles.
$ xcode-select --install # or download here <https://developer.apple.com/download/more/>
$ git clone --recursive https://github.com/crispgm/dotfiles.git
# Login to AppStore with Apple ID, since there are MAS apps in Brewfile
$ cd dotfiles
$ ./bootstrap
bootstrap
: entry point of dotfiles bootstrapping.Brewfile
: all Homebrew formulae and casks managed by Homebrew Bundle.rc
: dotfiles managed by rcm.app
: customized boostrapping scripts for applications.sudo scutil --set HostName david-macbook
brew bundle
. HINT: Login to AppStore at first. Some of the applications from Mac App Store may need purchase.zsh
, oh-my-zsh
and setup .zshrc
.gemrc
bundle config mirror.https://rubygems.org https://gems.ruby-china.com
if you locate in China mainlandcode
SymLink: sudo ln -s /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code ~/Applications/code
Setting Sync
extensions and then sync settingskarabiner.json
defaults write com.apple.dock persistent-apps -array-add '{tile-type="spacer-tile";}'
motd
: ASCII art is generated with http://patorjk.com/software/taag/
.bash_profile
.bashrc