pinch-dotfiles/salty/base/fish/init.sls

26 lines
579 B
Text
Raw Normal View History

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 }}
{{ grains.user }}:
user.present:
- shell: /usr/bin/fish
2017-01-14 23:09:11 +00:00
install-oh-my-fish:
cmd.run:
- name: bin/install --offline --noninteractive
2017-01-14 23:09:11 +00:00
- cwd: {{ grains.homedir }}/oh-my-fish
- runas: {{ grains.user }}
- 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 }}