Skip to content

Instantly share code, notes, and snippets.

@jamescarr
Last active March 30, 2016 11:28
Show Gist options
  • Select an option

  • Save jamescarr/d91c78a814106239cb6d4c3fc593c654 to your computer and use it in GitHub Desktop.

Select an option

Save jamescarr/d91c78a814106239cb6d4c3fc593c654 to your computer and use it in GitHub Desktop.
---
zsh_theme: robbyrussell
oh_my_zsh_plugins:
- git
- name: Backup existing zshrc if it exists
copy:
src: "/Users/{{ ansible_ssh_user }}/.zshrc"
dest: "/Users/{{ ansible_ssh_user }}/.zshrc-backup.{{ ansible_date_time.epoch }}"
- name: Render zshrc
template:
src: zshrc.j2
dest: "/Users/{{ ansible_ssh_user }}/.zshrc"
ZSH_THEME="{{ zsh_theme }}"
...
plugins=({{ oh_my_zsh_plugins|join(' ') }})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment