diff --git a/emacs/.gitignore b/emacs/.gitignore index cf8d6ef..34599cd 100644 --- a/emacs/.gitignore +++ b/emacs/.gitignore @@ -2,7 +2,8 @@ !.gitignore !*.org !*.el +!reset.sh !.gitkeep !snippets/ !snippets/** -flycheck_init.el \ No newline at end of file +flycheck_init.el diff --git a/emacs/reset.sh b/emacs/reset.sh new file mode 100755 index 0000000..2623264 --- /dev/null +++ b/emacs/reset.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +SCRIPT_DIR=$(dirname "$(readlink -f "$0")") + +pushd $SCRIPT_DIR &>/dev/null && rm -rf eln-cache elpa elpaca elpaca.lock && popd &> /dev/null