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 }}"
with_items: "{{ me }}"
# - name: Install tmuxinator
# gem:
# name: tmuxinator
# state: latest
- name: Install tmuxinator
gem:
name: tmuxinator
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/
copy: