- defaults:
    link:
      relink: true
      create: true
      force: true # We are opinionated.

- clean: ['~']

- shell:
  - [git submodule update --init --recursive, Installing submodules]
  - [mkdir -p ~/.vim/temp_dirs/undodir, Crating vim undo dir]
  - [bat cache --build, Updating bat syntax cache]

- link:
    ~/.config/bat: bat
    ~/.config/htop/htoprc: htop/htoprc
    ~/.dotfiles/.git/hooks/post-checkout: git/hooks/post-checkout
    ~/.dotfiles/.git/hooks/post-commit: git/hooks/post-commit
    ~/.dotfiles/.git/hooks/post-merge: git/hooks/post-merge
    ~/.gitconfig: git/config
    ~/.grc: grc
    ~/.gdbinit: gdb/gdbinit
    ~/.nanorc: nano/nanorc
    ~/.taskrc: taskwarrior/taskrc
    ~/.tmate.conf: tmate/tmate.conf
    ~/.tmux.conf: tmux/tmux.conf
    ~/.toprc : top/toprc
    ~/.vim/autoload: vim/autoload
    ~/.vim/templates: vim/templates
    ~/.vimrc: vim/vimrc
    ~/.zshrc: zsh/zshrc
    ~/bin/tm: tmux/tmux-menu

- shell:
  - [printf "\n" | vim +PlugInstall +PlugUpdate +qall, Installing vim plugins]

- defaults:
    link:
      relink: true
      create: true
      force: true # We are opinionated.

- clean: ['~']

- shell:
  - [git submodule update --init --recursive, Installing submodules]
  - [mkdir -p ~/.vim/temp_dirs/undodir, Crating vim undo dir]
  - [bat cache --build, Updating bat syntax cache]

- link:
    ~/.config/bat: bat
    ~/.config/htop/htoprc: htop/htoprc
    ~/.dotfiles/.git/hooks/post-checkout: git/hooks/post-checkout
    ~/.dotfiles/.git/hooks/post-commit: git/hooks/post-commit
    ~/.dotfiles/.git/hooks/post-merge: git/hooks/post-merge
    ~/.gitconfig: git/config
    ~/.grc: grc
    ~/.gdbinit: gdb/gdbinit
    ~/.nanorc: nano/nanorc
    ~/.taskrc: taskwarrior/taskrc
    ~/.tmate.conf: tmate/tmate.conf
    ~/.tmux.conf: tmux/tmux.conf
    ~/.toprc : top/toprc
    ~/.vim/autoload: vim/autoload
    ~/.vim/templates: vim/templates
    ~/.vimrc: vim/vimrc
    ~/.zshrc: zsh/zshrc
    ~/.zshenv: zsh/config/paths.zsh # for non interactive commands
    ~/bin/tm: tmux/tmux-menu

- shell:
  - [printf "\n" | vim +PlugInstall +PlugUpdate +qall, Installing vim plugins]

Add link from paths.zsh to .zshenv
Add link from paths.zsh to .zshenv

When using vscode, we don't import the .zshrc, and as such the custom
PATH specifying useful util locations such as $GOPATH/bin don't get set.
We can work around this by setting the appropriate path in the ~/.zshenv

Since I already only set the path in the one file, I can simply link it
directly.
