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 install-oh-my-fish: cmd.run: - name: bin/install --offline --noninteractive - cwd: {{ grains.homedir }}/oh-my-fish - runas: {{ grains.user }} - unless: test -d "$OMF_PATH"