Merge branch 'zsh'

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

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

@ -13,5 +13,9 @@
dest: "{{ ansible_env.HOME}}/.{{ item }}" dest: "{{ ansible_env.HOME}}/.{{ item }}"
state: link state: link
with_lines: ls ~/.zprezto/runcoms | grep -v README.md 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 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