# Commands to install / uninstall symlinks commands: up: rm -rf {target} && ln -s {path}/{file} {target} down: rm -rf {target} # Default targets default: - bin - .bashrc - .gitconfig - .git_template - .inputrc - .latexmkrc - .mbsyncrc - .mutt - .msmtprc - .ncmpcpp - .surfraw.bookmarks - .tmux.conf - .urxvt - .vim - .vifm - .xinitrc - .Xresources - .zsh # Special targets special: .dunstrc: ~/.config/dunst/dunstrc .i3/config: ~/.config/i3/config .i3/i3status.conf: ~/.config/i3status/config .mr/mrconfig: ~/.mrconfig .mr/mrtrust: ~/.mrtrust .vim/vimrc: ~/.vimrc .uzbl: ~/.config/uzbl .uzbl/bookmarks: ~/.local/share/uzbl/bookmarks .passwords: ~/.password-store .zathurarc: ~/.config/zathura/zathurarc .zsh/zgen: ~/.zgen .zsh/zshrc: ~/.zshrc # Additional actions before symlink pre: .mutt: | mkdir -p {path}/.mutt/temp mkdir -p {path}/.mutt/cache mkdir -p {path}/.mutt/bodies .vim: | mkdir -p {path}/.vim/vimundo