---
- name: Install fish
  become: true
  package:
    name: fish
    state: installed

- name: Create fish config directory
  file:
    path: "~/.config/fish"
    state: directory

- name: Symlink fish config file
  file:
    src: "{{ role_path }}/files/config.fish"
    dest: "~/.config/fish/config.fish"
    state: link

- name: Install fundle (fish plugin manager)
  get_url:
    url: https://git.io/fundle
    dest: "~/.config/fish/functions/fundle.fish"

---
- name: Install fish
  become: true
  package:
    name: fish
    state: installed

- name: Create fish config directory
  file:
    path: "~/.config/fish"
    state: directory

- name: Symlink fish config file
  file:
    src: "{{ role_path }}/files/config.fish"
    dest: "~/.config/fish/config.fish"
    state: link

- name: Create directory for fish functions
  file:
    path: "~/.config/fish/functions"
    state: directory

- name: Install fundle (fish plugin manager)
  get_url:
    url: https://git.io/fundle
    dest: "~/.config/fish/functions/fundle.fish"

Create functions directory for fish
Create functions directory for fish
