---
- defaults:
    link:
      create: true
      relink: true

- clean: ['~']

- shell:
  - [sh omz.sh, Install/Update oh-my-zsh]

- link:
    ~/.vimrc: ../vimrc
    ~/.vimrc.bundles: ../vim/bundle.vim
    ~/.vimrc.map: ../vim/map.vim
    ~/.zshrc: 
      force: true
      path: ../zshrc
    ~/.zsh: ../zsh
    ~/.p10k.zsh: ../zsh/configs/p10k.zsh
    ~/.gitconfig: ../gitconfig

- shell:
  - [git submodule update --init --recursive, Installing submodules]
  - command: vim -u ~/.vimrc.bundles +PluginInstall +qall
    description: Installing vim plugins

---
- defaults:
    link:
      create: true
      relink: true

- clean: ['~']

- link:
    ~/.vimrc: ../vimrc
    ~/.vimrc.bundles: ../vim/bundle.vim
    ~/.vimrc.map: ../vim/map.vim
    ~/.zshrc: 
      force: true
      path: ../zshrc
    ~/.zsh: ../zsh
    ~/.p10k.zsh: ../zsh/configs/p10k.zsh
    ~/.gitconfig: ../gitconfig

- shell:
  - [git submodule update --init --recursive, Installing submodules]
  - command: vim -u ~/.vimrc.bundles +PluginInstall +qall
    description: Installing vim plugins

Remove oh-my-zsh installation from dotbot
Remove oh-my-zsh installation from dotbot
