Add Emacs reset script

This commit is contained in:
2025-10-12 13:24:12 -07:00
parent 7209b28ab8
commit c534cc12bb
2 changed files with 7 additions and 1 deletions

1
emacs/.gitignore vendored
View File

@@ -2,6 +2,7 @@
!.gitignore !.gitignore
!*.org !*.org
!*.el !*.el
!reset.sh
!.gitkeep !.gitkeep
!snippets/ !snippets/
!snippets/** !snippets/**

5
emacs/reset.sh Executable file
View File

@@ -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