# Commands to install / uninstall symlinks commands: up: rm -rf {target} && mkdir -p $(dirname {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 .newsbeuter: ~/.config/newsbeuter .vim/vimrc: ~/.vimrc .qutebrowser: ~/.config/qutebrowser .qutebrowser/userscripts: ~/.local/share/qutebrowser/userscripts .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