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 9a3cc7afe2
[vscode] add settings
4 years ago
.bundle [ruby] switch to direnv's 6 years ago
.config [ruby] move direnvrc to .config 6 years ago
.git_templates [git] default to `main` instead of `master` 4 years ago
.github/ISSUE_TEMPLATE Update setup.md 4 years ago
.hammerspoon [hammerspoon] handle different Lua versions 4 years ago
.pentadactyl/plugin [meta] Stop using stow 10 years ago
.ssh Update IP for on-fire-within 4 years ago
.vim [vim] bump rust.vim 4 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] add soulver workflow 4 years ago
Dash.dashsync [alfred][dash] remove ruby 2.0 4 years ago
ansible [meta][rust] update rustup install 4 years ago
bin [meta] handle alfred workflow filter when no variablesdontexport 4 years ago
bitbar [bitbar] update for current setup 5 years ago
dnsmasq [dnsmasq] Blacklist adzmath 9 years ago
osx [meta] install webster's 1913 dictionary 4 years ago
resolver Fix resolver/dev 10 years ago
scripts [scripts] Fix script for resolving conflicts 9 years ago
src [alfred] add soulver workflow 4 years ago
vscode [vscode] add settings 4 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 [alfred][dash] remove ruby 2.0 4 years ago
.gitconfig [git] set default branch to main 4 years ago
.gitignore [meta] ignore more private files 4 years ago
.gitmodules [alfred] add soulver workflow 4 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 [ruby] use pry prompt api 4 years ago
.spacemacs [spacemacs] vinegar 8 years ago
.tmux.conf [tmux] fix binding incompatibility issue 4 years ago
.tridactylrc [tridactyl] 5 years ago
.vimrc [vim] use fzf for spelling suggestions 4 years ago
Alpha.terminal [terminal] update theme 4 years ago
LICENSE Initial commit 10 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.