all repos — nixfiles @ 4b7fe9e0ad192e3959a9fccb4c5be45123259bea

System and user configuration, managed by nix and home-manager

hooks/pre-up/emacs (view raw)

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