diff --git a/salty/base/fish/init.sls b/salty/base/fish/init.sls new file mode 100644 index 0000000..1279af1 --- /dev/null +++ b/salty/base/fish/init.sls @@ -0,0 +1,15 @@ +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 }} + +install-oh-my-fish: + cmd.run: + - name: bin/install --offline + - cwd: {{ grains.homedir }}/oh-my-fish + - unless: test -d "$OMF_PATH" \ No newline at end of file diff --git a/salty/base/top.sls b/salty/base/top.sls index f8f346f..62b1f7b 100644 --- a/salty/base/top.sls +++ b/salty/base/top.sls @@ -2,4 +2,4 @@ base: '*': - git - spacemacs - - zsh + - fish