- defaults:
    link:
      relink: true

- clean: ['~']

- create:
    - ~/.config
    - ~/.config/bash
    - ~/.config/herdr
    - ~/.config/tmux
    - ~/.claude

- link:
    # git
    ~/.gitconfig: home/gitconfig
    ~/.config/.gitignore_global: home/config/gitignore_global

    # bash
    ~/.bashrc: home/bashrc
    ~/.config/bash/.bash_profile: home/config/bash/bash_profile
    ~/.git-completion.bash: home/config/bash/git-completion.bash
    ~/.git-prompt-colors.sh: home/config/bash/git-prompt-colors.sh

    # apps
    ~/.config/alacritty: home/config/alacritty
    ~/.config/btop: home/config/btop
    ~/.config/ghostty: home/config/ghostty
    ~/.config/herdr/config.toml: home/config/herdr/config.toml

    # tmux
    ~/.tmux.conf: home/tmux.conf
    ~/.config/tmux/plugins: home/config/tmux/plugins
    ~/.config/tmux/themes: home/config/tmux/themes

    ~/.config/.aliases: home/config/aliases

    # vim
    ~/.vim : home/vim
    ~/.vimrc: home/vimrc

    # zsh
    ~/.zshenv: home/zshenv
    ~/.config/zsh: home/config/zsh

    # claude code
    ~/.claude/skills: home/claude/skills

    # mac os
    ~/.hushlogin:
      if: '[ `uname` = Darwin ]'
      path: macos/hushlogin

- shell:
  - command: ./shell/setup.sh
    stdin: true
    stdout: true
    stderr: true
