Run oh-my-fish install as the user, not root...

This commit is contained in:
Elijah Lazkani 2017-01-14 18:57:20 -05:00
parent 6826e556c5
commit e77b961b8a

View file

@ -16,4 +16,5 @@ install-oh-my-fish:
cmd.run: cmd.run:
- name: bin/install --offline --noninteractive - name: bin/install --offline --noninteractive
- cwd: {{ grains.homedir }}/oh-my-fish - cwd: {{ grains.homedir }}/oh-my-fish
- runas: {{ grains.user }}
- unless: test -d "$OMF_PATH" - unless: test -d "$OMF_PATH"