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 7f36e05baf
[bash] tab-complete symlinked dirs with a slash
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 [alfred][hammerspoon] windoe management experimentation 5 years ago
.pentadactyl/plugin [meta] Stop using stow 10 years ago
.ssh [ansible] irregular-apocalypse setup 6 years ago
.vim [vim] update rust.vim 5 years ago
.weechat [weechat] ignore plugins.xml file 7 years ago
Alfred.alfredpreferences [alfred] remove wm workflow 5 years ago
Dash.dashsync [dash] update prefs 7 years ago
ansible [ansible][attitude-adjuster] put home-assistant on the host network 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 [prezto] update to master 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] update personal email address 6 years ago
.gitignore [git][vim] ignore vim view dir 6 years ago
.gitmodules [vim] typescript-vim 6 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] remove powerline 7 years ago
.vimrc [vim] another attempt at fixing netrw buffer closing 6 years ago
Alpha.terminal [terminal] update titlebar, use Source Code Pro 6 years ago
LICENSE Initial commit 11 years ago
README.md [meta] clean up ansible files 6 years ago
Rakefile [meta] fix rake config sync task 7 years ago
gitignore [git] ignore .direnv dirs 6 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.