- clean:
    - '~'
    - '~/.config'
    - '~/.config/git'
    - '~/.config/nvim'

- link:
    ~/.config/fish/config.fish:
        create: true
        path: fish/config.fish
    ~/.config/git/config:
        create: true
        path: git/config
    ~/.config/git/ignore_global:
        create: true
        path: git/ignore_global
    ~/.config/nvim/init.vim:
        create: true
        path: nvim/init.vim
    ~/.config/nvim/ftplugin:
        create: true
        path: nvim/ftplugin/
    ~/.config/nvim/autoload:
        create: true
        path: nvim/autoload/
    ~/.pam_environment: pam_environment
    ~/.spectrwm.conf: spectrwm.conf
    ~/.tmux.conf: tmux.conf

- shell:
  - git submodule update --init --recursive # Update submodules

- clean:
    - '~'
    - '~/.config'
    - '~/.config/git'
    - '~/.config/nvim'

- link:
    ~/.config/fish/config.fish:
        create: true
        path: fish/config.fish
    ~/.config/git/config:
        create: true
        path: git/config
    ~/.config/git/ignore_global:
        create: true
        path: git/ignore_global
    ~/.config/nvim/init.vim:
        create: true
        path: nvim/init.vim
    ~/.config/nvim/ftplugin:
        create: true
        path: nvim/ftplugin/
    ~/.config/nvim/autoload:
        create: true
        path: nvim/autoload/
    ~/.pam_environment: pam_environment
    ~/.spectrwm.conf: spectrwm.conf
    ~/.tmux.conf: tmux.conf

- shell:
    # Update git submodules
    - git submodule update --init --recursive
    # Install Neovim spelling dictionary and suggestions
    - >
        [ -f ~/.config/nvim/spell/en.utf-8.spl ] ||
        curl -o ~/.config/nvim/spell/en.utf-8.spl
        ftp://ftp.vim.org/pub/vim/runtime/spell/en.utf-8.spl
    - >
        [ -f ~/.config/nvim/spell/en.utf-8.sug ] ||
        curl -o ~/.config/nvim/spell/en.utf-8.sug
        ftp://ftp.vim.org/pub/vim/runtime/spell/en.utf-8.sug

Install neovim dictionary and suggestion files
Install neovim dictionary and suggestion files

Use curl to grab the dictionary and suggestion files if they do not
exist.
