Skip to content
forked from yhjor/dotfiles

Personal dotfiles to kickstart development settings

Notifications You must be signed in to change notification settings

georgejor/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate your dots

Travis Status
  • 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

What's inside

  • 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

Before Start

  1. npm install
  2. npm run build
  3. npm link

The dot commands

Just execute dot in your shell, an interactive command will be shown.

Alt text

And you might need to initialize it once since different machines might have different configs:

Alt text

Symlink all dotfiles makes editing easy:

Alt text

Switching from bash to zsh is necessary, Sorry :)

Alt text

Installing packages defined in dots/.packages:

Alt text

The dot files

OSX Settings (dots/.osx)

# 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

Git Config (dots/.gitconfig)

[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\"

Packages (dots/.packages)

Written in YAML format.

'apm':
  - linter-eslint
  - react

'brew':
  - git
  - mongodb

'cask':
  - java
  - google-chrome
  - atom
  - slack

'npm':
  - babel-cli
  - webdriverio

More

Take a look inside ./dot

Enjoy!

About

Personal dotfiles to kickstart development settings

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.1%
  • CoffeeScript 18.4%
  • CSS 4.5%
  • Shell 3.0%