- defaults:
    link:
      # Create parent directories when they do not exist
      create: true
      # Relink old symlinks when they are changed
      relink: true
      # Use '*' as a shell wildcard, link everything that matches
      glob: true

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

# <destination>: <source (relative to root dotfiles directory)>
- link:
    ~/.Xresources:
    ~/.bash_aliases:
    ~/.bash_profile:
    ~/.bashrc:
    ~/.zshenv:
    ~/.zprofile:
    ~/.zshrc:
    ~/.config: 'config/*'
    ~/.emacs.d: 'emacs.d/*'
    ~/.gitignore_global:
    ~/.xinitrc:
    ~/.xprofile:
    ~/.clang-format:
    ~/bin/bash-powerline.sh: 'bash-powerline/bash-powerline.sh'
    ~/bin: 'scripts/*'

- shell:
  - ["wget -r -t5 -O ~/.config/git-completion.bash https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash", Getting the latest version of 'git-completion.bash']
  - ["wget -r -t5 -O ~/.config/git-completion.zsh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.zsh", Getting the latest version of 'git-completion.zsh']
  - [git config --global core.excludesfile ~/.gitignore_global, Updating global gitignore]
  - [git submodule update --init --recursive, Installing submodules]

- defaults:
    link:
      # Create parent directories when they do not exist
      create: true
      # Relink old symlinks when they are changed
      relink: true
      # Use '*' as a shell wildcard, link everything that matches
      glob: true

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

# <destination>: <source (relative to root dotfiles directory)>
- link:
    ~/.Xresources:
    ~/.bash_aliases:
    ~/.bash_profile:
    ~/.bashrc:
    ~/.zshenv:
    ~/.zprofile:
    ~/.zshrc:
    ~/.config: 'config/*'
    ~/.gitignore_global:
    ~/.xinitrc:
    ~/.xprofile:
    ~/.clang-format:
    ~/bin/bash-powerline.sh: 'bash-powerline/bash-powerline.sh'
    ~/bin: 'scripts/*'

- shell:
  - ["wget -r -t5 -O ~/.config/git-completion.bash https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash", Getting the latest version of 'git-completion.bash']
  - ["wget -r -t5 -O ~/.config/git-completion.zsh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.zsh", Getting the latest version of 'git-completion.zsh']
  - [git config --global core.excludesfile ~/.gitignore_global, Updating global gitignore]
  - [git submodule update --init --recursive, Installing submodules]

Remove .emacs.d from install settings
Remove .emacs.d from install settings
