2017-01-14 23:09:11 +00:00
|
|
|
fish:
|
|
|
|
pkg.installed:
|
|
|
|
- name: fish
|
|
|
|
|
|
|
|
oh-my-fish:
|
|
|
|
git.latest:
|
|
|
|
- name: https://github.com/oh-my-fish/oh-my-fish
|
|
|
|
- target: {{ grains.homedir }}/oh-my-fish
|
|
|
|
- user: {{ grains.user }}
|
|
|
|
|
2017-01-14 23:50:38 +00:00
|
|
|
{{ grains.user }}:
|
|
|
|
user.present:
|
|
|
|
- shell: /usr/bin/fish
|
|
|
|
|
2017-01-14 23:09:11 +00:00
|
|
|
install-oh-my-fish:
|
|
|
|
cmd.run:
|
2017-01-14 23:42:09 +00:00
|
|
|
- name: bin/install --offline --noninteractive
|
2017-01-14 23:09:11 +00:00
|
|
|
- cwd: {{ grains.homedir }}/oh-my-fish
|
2017-01-14 23:57:20 +00:00
|
|
|
- runas: {{ grains.user }}
|
2017-01-15 01:11:57 +00:00
|
|
|
- unless: test -d {{ grains.homedir }}/.local/share/omf
|
2017-01-15 00:30:54 +00:00
|
|
|
|
|
|
|
install-bira:
|
|
|
|
cmd.run:
|
2017-01-16 18:51:46 +00:00
|
|
|
- name: fish -c "omf install bobthefish"
|
|
|
|
- runas: {{ grains.user }}
|