- clean: ['~']
- link:
    ~/.vim:
        path: 'files/.vim/'
        force: true
    ~/.vimrc:
        path: 'files/.vimrc'
        force: true
    ~/.gvimrc:
        path: 'files/.gvimrc'
        force: true
    ~/.bash_profile:
        path: 'files/.bash_profile'
        force: true
    ~/.gitconfig:
        path: 'files/.gitconfig'
        force: true
    ~/.gitignore_global:
        path: 'files/.gitignore_global'
        force: true
    ~/.zshrc:
        path: 'files/.zshrc'
        force: true
    ~/.npmrc:
        path: 'files/.npmrc'
        force: true
    ~/.gnupg/gpg.conf:
        path: 'files/.gnupg/gpg.conf'
        force: true
    ~/.tmux.conf:
        path: 'files/.tmux.conf'
        force: true
    ~/.oh-my-zsh/custom:
        path: 'files/.oh-my-zsh/custom'
        force: true
    ~/.XCompose:
        path: 'files/.XCompose'
        force: true
- shell:
     - [git submodule update --init --recursive, Installing submodules]
     - [bash scripts/osx.sh]
     - [pip install --user powerline-status]
     - [bash scripts/install_powerline_fonts.sh]
     - [mkdir ~/npm]
     - [mkdir ~/bin]
     - [mkdir ~/.gnupg]
     - [bash scripts/install_ack.sh]

- clean: ['~']
- link:
    ~/.vim:
        path: 'files/.vim/'
        force: true
    ~/.vimrc:
        path: 'files/.vimrc'
        force: true
    ~/.gvimrc:
        path: 'files/.gvimrc'
        force: true
    ~/.bash_profile:
        path: 'files/.bash_profile'
        force: true
    ~/.gitconfig:
        path: 'files/.gitconfig'
        force: true
    ~/.gitignore_global:
        path: 'files/.gitignore_global'
        force: true
    ~/.zshrc:
        path: 'files/.zshrc'
        force: true
    ~/.npmrc:
        path: 'files/.npmrc'
        force: true
    ~/.gnupg/gpg.conf:
        path: 'files/.gnupg/gpg.conf'
        force: true
    ~/.tmux.conf:
        path: 'files/.tmux.conf'
        force: true
    ~/.XCompose:
        path: 'files/.XCompose'
        force: true
    ~/.oh-my-zsh/custom/themes/:
        glob: true
        path: files/.oh-my-zsh/custom/themes/*
        force: true
- shell:
     - [git submodule update --init --recursive, Installing submodules]
     - [bash scripts/osx.sh]
     - [pip install --user powerline-status]
     - [bash scripts/install_powerline_fonts.sh]
     - [mkdir ~/npm]
     - [mkdir ~/bin]
     - [mkdir ~/.gnupg]
     - [bash scripts/install_ack.sh]

Change how the custom oh-my-zsh themes are installed
Change how the custom oh-my-zsh themes are installed

Before this, the installation would remove the entire custom/themes folder in oh-my-zsh and this would make the update process fail (because git would say it can't update due to changes in the local repo). Now the installation creates individual links to any custom theme without removing the existing folder
