From 96018c83f9dfb55c319706383729dcaed59aa7e7 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 28 Jul 2014 17:58:59 -0700 Subject: [PATCH] [zsh] Add conf files --- ansible/dev.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ansible/dev.yml b/ansible/dev.yml index fa97c0c..1b531c3 100644 --- a/ansible/dev.yml +++ b/ansible/dev.yml @@ -5,6 +5,20 @@ - include: config.yml - hosts: all tasks: + - name: set zsh as default shell + user: name=alpha shell=zsh + sudo: yes + - name: symlink zprezto + file: src={{ ansible_env.HOME }}/Dropbox/dotfiles/src/prezto dest={{ ansible_env.HOME}}/.zprezto state=link + - name: symlink zsh runcoms + file: src={{ ansible_env.HOME }}/Dropbox/dotfiles/src/prezto/runcoms/{{ item }} dest={{ ansible_env.HOME}}/.{{ item }} state=link + with_items: + - zlogin + - zlogout + - zpreztorc + - zprofile + - zshenv + - zshrc - name: setup ssh keys local_action: command ruby ~/.dotfiles/scripts/setup_ssh_keys.rb when: ansible_domain == "local"