Make sure the fish config directory is present before moving on
This commit is contained in:
parent
e5f1475c4e
commit
8dee80c0df
1 changed files with 8 additions and 1 deletions
|
@ -19,7 +19,14 @@ install-oh-my-fish:
|
||||||
- runas: {{ grains.user }}
|
- runas: {{ grains.user }}
|
||||||
- unless: test -d {{ grains.homedir }}/.local/share/omf
|
- unless: test -d {{ grains.homedir }}/.local/share/omf
|
||||||
|
|
||||||
oh-my-fish-config:
|
create-oh-my-fish-config-directory:
|
||||||
|
file.directory:
|
||||||
|
- name: {{ grains.homedir }}/.config/omf
|
||||||
|
- user: {{ grains.user }}
|
||||||
|
- group: {{ grains.group }}
|
||||||
|
- force: True
|
||||||
|
|
||||||
|
oh-my-fish-bundle-config:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ grains.homedir }}/.config/omf/bundle
|
- name: {{ grains.homedir }}/.config/omf/bundle
|
||||||
- source: salt:///fish/files/bundle
|
- source: salt:///fish/files/bundle
|
||||||
|
|
Loading…
Reference in a new issue