summary refs log tree commit diff stats
path: root/hooks/pre-up/emacs
blob: 01ca27938465187facd2046f4cd0c74b65b7abd7 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env zsh

# Remove broken elisp symlink from old versions
elisp="$HOME/.emacs.d/elisp"
if [[ -L "$elisp" && ! -e "$elisp" ]]
then
	rm $elisp
fi