- Aggregate your preferences and configurations under version control
- Abstract complicated shell scripts with modern ES2015 in Node.js
- Design for simplicity and productivity for Node.js development
- zsh, antigen and it's plugin
- set of shell alias
- configurable OSX settings
- a packages definition file of atom/brew/cask/npm/etc with auto installation
- atom's configs
npm install
npm run build
npm link
Just execute dot
in your shell, an interactive command will be shown.
And you might need to initialize it once since different machines might have different configs:
Symlink all dotfiles makes editing easy:
Switching from bash to zsh is necessary, Sorry :)
Installing packages defined in dots/.packages:
# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
# Disable smart dashes as they’re annoying when typing code
# defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
[branch]
autosetuprebase = always
autosetupmerge = always
[apply]
whitespace = fix
[push]
default = current
[include]
path = ~/.gituser
[alias]
co = !sh -c \"git checkout $(git branch | fzf)\"
diffs = "!git diff --color $@ | diff-so-fancy"
bo = !sh -c \"git fetch origin $(git current):feature/$1 && git checkout feature/$1 && git branch -u origin/$(git current) feature/$1\"
clear-merged = !sh -c \"git branch --merged | grep -E 'feature/|fix/' | grep -v \\* | xargs -n 1 git branch -d\"
Written in YAML format.
'apm':
- linter-eslint
- react
'brew':
- git
- mongodb
'cask':
- java
- google-chrome
- atom
- slack
'npm':
- babel-cli
- webdriverio
Take a look inside ./dot
Enjoy!