my dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Alpha Chen 5943fd3a1c
Merge branch 'vagrant'
10 years ago
Alfred 2/Alfred.alfredpreferences [alfred] Add custom search for Google Inbox 10 years ago
ansible [meta] Only stow OS X stuff if on OS X 10 years ago
bash [bash] Add bash config 11 years ago
config/.config/powerline [powerline] Update powerline, add Solaried tmux theme 10 years ago
dnsmasq [meta] Remove resolver settings for SM 10 years ago
git [git] Ignore scratch files 10 years ago
osx/Library [osx] Add YoruFukurou prefs 10 years ago
pentadactyl [pentadactyl] Make text smaller on Retina 10 years ago
readline [readline] Add config 10 years ago
resolver Fix resolver/dev 11 years ago
ruby [ruby] Switch to pry-byebug 10 years ago
src [meta] Bump powerline 10 years ago
ssh/.ssh [meta] Don't check host keys when SSHing to Vagrant 10 years ago
tmux [tmux] Only source ~/.tmux.conf.local if it exists 10 years ago
vim [vim] Set autoread 10 years ago
.gitignore [vim] Ignore .scratch and .VimballRecord files 10 years ago
.gitmodules [vim] Add incsearch.vim plugin 10 years ago
Alpha.terminal [terminal] Update Terminal.app profile 10 years ago
LICENSE Initial commit 11 years ago
README.md [meta] Vagrant 10 years ago

README.md

A new beginning for what used to be my conf_dir project, since dotfiles appears to be the conventional name of these types of repos nowadays.

This uses Ansible to provision new machines and stow for managing conf files that can be symlinked.

Usage

# Install Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

# Install ansible
brew install ansible

# Clone dotfiles
git clone --recursive https://github.com/kejadlen/dotfiles.git ~/.dotfiles

# Xcode
sudo xcode-select --install
open 'https://itunes.apple.com/us/app/xcode/id497799835?mt=12'
sudo xcodebuild -license

# Run Ansible
cd ~/.dotfiles/ansible && ansible-playbook main.yml --ask-sudo-pass
rm -f ~/*.retry

# Post-Dropbox syncing
rm -rf ~/.dotfiles
ln -s ~/Dropbox/dotfiles ~/.dotfiles

To update submodules:

git submodule foreach git pull

Development

Ansible tags are indispensible when tweaking the config.

- command: echo debug
  tags: debug
ansible-playbook main.yml --ask-sudo-pass --tags debug

Vagrant

vagrant up
ansible vagrant -m ping

TODO

See issues.