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 1576424580
[alfred] use epheremal copying for RSA token code
5 years ago
.bundle [ruby] switch to direnv's 6 years ago
.config [ruby] move direnvrc to .config 7 years ago
.git_templates [git] default to `main` instead of `master` 5 years ago
.github/ISSUE_TEMPLATE Update setup.md 5 years ago
.hammerspoon [hammerspoon] handle Zoom URLs 5 years ago
.pentadactyl/plugin [meta] Stop using stow 10 years ago
.ssh Update IP for on-fire-within 5 years ago
.vim [vim] update vimwiki 5 years ago
.weechat [weechat] ignore plugins.xml file 7 years ago
.zsh/modules/docker-completion [zsh] use a module for docker completion 5 years ago
Alfred.alfredpreferences [alfred] use epheremal copying for RSA token code 5 years ago
Dash.dashsync [dash] update prefs 5 years ago
ansible Bump rack from 2.1.1 to 2.2.3 in /ansible/docker/rzz 5 years ago
bin [meta] handle alfred workflow filter when no variablesdontexport 5 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 [meta] rebase prezto against upstream 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
.gitattributes [meta][alfred] clean secrets in workflows 5 years ago
.gitconfig [git] don't advice on empty add 5 years ago
.gitignore [git][vim] ignore vim view dir 6 years ago
.gitmodules [vim] fix package submodules 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 [pry] add rot13 method 5 years ago
.spacemacs [spacemacs] vinegar 8 years ago
.tmux.conf [tmux] fix binding incompatibility issue 5 years ago
.tridactylrc [tridactyl] 5 years ago
.vimrc [vim] use vimwiki for notes 5 years ago
Alpha.terminal [meta] update fonts (use hasklig), update apps 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.