summaryrefslogtreecommitdiff
path: root/scripts/reset-to-first-launch.sh
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2024-04-11 01:39:11 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2024-04-11 01:39:11 -0500
commit07fd4f1a6930dc62880b0fd7a0496270f4c2efd6 (patch)
tree31c37427859b391dd8dcad9abc2f4f3515f072b5 /scripts/reset-to-first-launch.sh
parenta55a5248bd2dae5f849476d0f7b5dcd8d91cf929 (diff)
more fit and finish work
User Constants - move all file and directory constants into it's own file - create the directories and files if they don't exist - warn the user when not found/created General - remove duplicate dirvish go menu entry - remove xterm color in test code (it's already in eshell) - fixed org-drill not starting - fixing issue with auto-complete not working in eshell - adding playlists location for dirvish - moved all org-drill config into the use-package declaration - added drill-dir to user-constants - default ledger-file location changed; updated tasks - git ignore the persist folder - added more point values in fontaine menu - fix for gptel early key grab in authinfo.gpg - removed localrepo from reset script - remove magit-forge package - don't wait too long to bury-buffers - add setting native compile warnings to 'silent - fixed sdcv errors when looking up a word normally and in nov
Diffstat (limited to 'scripts/reset-to-first-launch.sh')
-rwxr-xr-xscripts/reset-to-first-launch.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/reset-to-first-launch.sh b/scripts/reset-to-first-launch.sh
new file mode 100755
index 00000000..6800bc44
--- /dev/null
+++ b/scripts/reset-to-first-launch.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+# script for Emacs config testing
+# - clears out all but necessary init/config files
+# - removes native ad bytecode files.
+rm -rf ~/.emacs.d/.cache/
+rm -rf ~/.emacs.d/auto-save-list/
+rm -rf ~/.emacs.d/backups/
+rm -rf ~/.emacs.d/crossword/
+rm -rf ~/.emacs.d/dirvish/
+rm -rf ~/.emacs.d/eln-cache/
+rm -rf ~/.emacs.d/elpa/
+rm -rf ~/.emacs.d/emojis/
+rm -rf ~/.emacs.d/erc/
+rm -rf ~/.emacs.d/eshell/
+rm -rf ~/.emacs.d/nov-places/
+rm -rf ~/.emacs.d/quelpa/
+rm -rf ~/.emacs.d/tramp-autosave/
+rm -rf ~/.emacs.d/transient/
+rm -rf ~/.emacs.d/tree-sitter/
+rm -rf ~/.emacs.d/url/
+rm ~/.emacs.d/.lsp-session*
+rm ~/.emacs.d/.org-id-locations
+rm ~/.emacs.d/.pdf-view-restore
+rm ~/.emacs.d/org-roam.db
+rm ~/.emacs.d/projectile-bookmarks.eld
+rm ~/.emacs.d/.scratch
+rm ~/.emacs.d/forge-database.sqlite
+rm ~/.emacs.d/recentf
+rm ~/.emacs.d/tramp-connection-history
+rm ~/sync/org/emacs-theme.persist
+find ~/.emacs.d -name "*.eln" -type f -delete
+find ~/.emacs.d -name "*.elc" -type f -delete