- defaults:
    link:
      # Create new symlinks when they do not exist
      create: true
      # Relink old symlinks when they are changed
      relink: true

# Directories to be checked for broken symlinks
- clean: ['~', '~/.config']
      
- link:
    ~/.dotfiles: ''
    ~/.bashrc:
    ~/.bash_profile:
    ~/.emacs:
    ~/.emacs.d:
    ~/.xprofile:
    ~/.gitignore_global:
    ~/.config/i3: 'config/i3'

- shell: []

- defaults:
    link:
      # Create new symlinks when they do not exist
      create: true
      # Relink old symlinks when they are changed
      relink: true

# Directories to be checked for broken symlinks
- clean: ['~', '~/.config']

# <destination>: <source (relative to root dotfiles directory)>
- link:
    ~/.dotfiles: ''
    ~/.bashrc:
    ~/.bash_profile:
    ~/.emacs:
    ~/.emacs.d:
    ~/.xprofile:
    ~/.gitignore_global:
    ~/.config/i3: 'config/i3'

- shell:
  - [git submodule update --init --recursive, Installing submodules]
  - [git config --global core.excludesfile ~/.gitignore_global, Updating global gitignore]

Update global gitignore on installation
Update global gitignore on installation
