Add zshrc.local to add gem install into the path

This commit is contained in:
Bertrand Benjamin 2018-08-26 11:38:58 +02:00
parent e496e5f1f9
commit 325222b56a
2 changed files with 12 additions and 4 deletions

1
files/zshrc.local Normal file
View File

@ -0,0 +1 @@
PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin"

View File

@ -21,10 +21,17 @@
owner: "{{ item.username }}" owner: "{{ item.username }}"
with_items: "{{ me }}" with_items: "{{ me }}"
# - name: Install tmuxinator - name: Install tmuxinator
# gem: gem:
# name: tmuxinator name: tmuxinator
# state: latest state: latest
- name: Copy local zshrc
template:
src: files/zshrc.local
dest: /home/{{ item.username }}/.zshrc.local
owner: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy .vim/ - name: Copy .vim/
copy: copy: