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 34abfff74a
[zsh] add docker completion
5 years ago
.bundle [ruby] switch to direnv's 6 years ago
.config [ruby] move direnvrc to .config 7 years ago
.git_templates/hooks [meta] Stop using stow 10 years ago
.github/ISSUE_TEMPLATE [chunkwm] 6 years ago
.hammerspoon [hammerspoon] basic window management 5 years ago
.pentadactyl/plugin [meta] Stop using stow 10 years ago
.ssh [ssh] remove hardcoded ips now that domains are set up 5 years ago
.vim [vim] vimwiki 5 years ago
.weechat [weechat] ignore plugins.xml file 7 years ago
.zsh [zsh] add docker completion 5 years ago
Alfred.alfredpreferences [alfred][dash] add ansible docs 5 years ago
Dash.dashsync [alfred][dash] add ansible docs 5 years ago
ansible [ansible][on-fire-within] minio 5 years ago
bin [alfred][git] don't break the plist cleaning on Linux 6 years ago
bitbar [bitbar] update for current setup 5 years ago
dnsmasq [dnsmasq] Blacklist adzmath 9 years ago
osx [osx] add more emacs keybindings 7 years ago
resolver Fix resolver/dev 11 years ago
scripts [scripts] Fix script for resolving conflicts 9 years ago
src [zsh] add docker completion 5 years ago
.bash_profile [meta] Stop using stow 10 years ago
.bashrc [meta] Stop using stow 10 years ago
.chunkwmrc [alfred][chunkwm] 6 years ago
.gemrc [meta] Stop using stow 10 years ago
.gitconfig [git] show stats when pulling and add ctags alias 5 years ago
.gitignore [git][vim] ignore vim view dir 6 years ago
.gitmodules [vim] vimwiki 5 years ago
.inputrc [bash] tab-complete symlinked dirs with a slash 5 years ago
.irbrc [meta] Stop using stow 10 years ago
.pentadactylrc [pentadactyl] Scroll a little less with j/k 9 years ago
.pryrc [meta] Stop using stow 10 years ago
.spacemacs [spacemacs] vinegar 8 years ago
.tmux.conf [tmux] update deprecated style configuration 5 years ago
.tridactylrc [tridactyl] 5 years ago
.vimrc [vim] add sensible indentation defaults 5 years ago
Alpha.terminal [terminal] don't antialias the font 5 years ago
LICENSE Initial commit 11 years ago
README.md [meta] clean up ansible files 6 years ago
Rakefile [meta] fix rake brew:multiuser 5 years ago
gitignore [git] add fix alias and some default ignores 5 years ago
safari.css [safari] add user stylesheet 8 years ago

README.md

Dotfiles

This repo contains both my dotfiles as well as Ansible playbooks to provision new machines.

Use at your own risk.

Playbooks

  • bootstrap.yml: SSH and Homebrew setup
  • main.yml: Pretty much everything else
  • imac.yml: For quieting down the broken HDD fan on my iMac
  • macbook_pro.yml: Remap Caps Lock to Control on the laptop

Usage

Use a tracking issue as a checklist for local provisioning.

Remote provisioning

On the control machine:

brew install ansible
git clone --recursive git@github.com:kejadlen/dotfiles
cd dotfiles/ansible

echo HOST > hosts.private

ansible-playbook bootstrap.yml --ask-pass --ask-become-pass
ansible-playbook main.yml --ask-become-pass

A couple items that I haven't gotten around to automating yet that need to be manually run post-provisioning:

# Symlink ~/.dotfiles to Dropbox
rm -rf ~/.dotfiles
ln -s ~/Dropbox/dotfiles ~/.dotfiles

Development

Ansible tags are indispensible when tweaking the config:

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

TODO

See issues.