- defaults:
    link:
      relink: true

- clean: ["~"]

- create:
    ~/.ssh:
      mode: 0700

- link:
    ~/.config/:
      glob: true
      path: config/*
      relink: true
      exclude: [config/karabiner]
    ~/.config/karabiner: darwin/karabiner
    ~/.ack: ack
    ~/.ag: ag
    ~/.aliases: aliases
    ~/.bash_profile: bash_profile
    ~/.bashrc: bashrc
    ~/.ctags: ctags
    ~/.curlrc: curlrc
    ~/.default-gems: default-gems
    ~/.default-npm-packages: default-npm-packages
    ~/.default-python-packages: default-python-packages
    ~/.editorconfig: editorconfig
    ~/.functions: functions
    ~/.gemrc: gemrc
    ~/.gitmux.conf: gitmux.conf
    ~/.gnupg/dirmngr.conf: gnupg/dirmngr.conf
    ~/.gnupg/gpg.conf: gnupg/gpg.conf
    ~/.jjconfig.toml: jjconfig.toml
    ~/.markdownlint.yaml: markdownlint.yaml
    ~/.profile: profile
    ~/.session-variables.sh: session-variables.sh
    ~/.wakatime.cfg: private/wakatime.cfg
    ~/.wget: wget
    ~/.zsh_plugins.txt: zsh_plugins.txt
    ~/.zshenv: zshenv
    ~/.zshrc: zshrc

- shell:
    - [git submodule update --init --recursive, Installing submodules]
    - [
        ~/.tmux/plugins/tpm/scripts/install_plugins.sh >/dev/null 2>&1,
        Installing tmux plugins,
      ]
