Merge branch 'zsh'

pull/28/head
Alpha Chen 10 years ago
commit 3b3619fcb5

@ -2,6 +2,6 @@
- include: dotfiles.yml
tags: dotfiles
- include: powerline.yml
- include: prezto.yml
- include: ssh.yml
when: ansible_domain == "local"
- include: zsh.yml
# - include: ssh.yml
# when: ansible_domain == "local"

@ -13,5 +13,9 @@
dest: "{{ ansible_env.HOME}}/.{{ item }}"
state: link
with_lines: ls ~/.zprezto/runcoms | grep -v README.md
- command: chsh -s zsh {{ ansible_env.USER }}
- lineinfile: dest=/etc/shells line=/usr/local/bin/zsh state=present
sudo: True
when: ansible_distribution == "MacOSX"
- command: chsh -s /usr/local/bin/zsh {{ ansible_env.USER }}
sudo: True
when: ansible_distribution == "MacOSX"
Loading…
Cancel
Save