From 325222b56ad3f04f8ec501240895d4dd878d3906 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 26 Aug 2018 11:38:58 +0200 Subject: [PATCH] Add zshrc.local to add gem install into the path --- files/zshrc.local | 1 + tasks/dotfiles.yml | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 files/zshrc.local diff --git a/files/zshrc.local b/files/zshrc.local new file mode 100644 index 0000000..27cd594 --- /dev/null +++ b/files/zshrc.local @@ -0,0 +1 @@ +PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin" diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index d55ab06..acef195 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -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: