summaryrefslogtreecommitdiff
path: root/jakob.org
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-03-14 18:29:26 -0400
committerJakob L. Kreuze2019-03-14 18:29:26 -0400
commit2846e79af135400fa8ea86809267347f7649a524 (patch)
treec8da44847e6c4e9d3c3368fe4a61414cd71cccaf /jakob.org
parenta0bc83253aea543f0c949c7e6f8468c5c247ff09 (diff)
Add configuation for dired-rmjunk
Diffstat (limited to 'jakob.org')
-rw-r--r--jakob.org46
1 files changed, 46 insertions, 0 deletions
diff --git a/jakob.org b/jakob.org
index f5f4548..e8cb92d 100644
--- a/jakob.org
+++ b/jakob.org
@@ -946,6 +946,52 @@ preference of mine.
(setq-default dired-listing-switches "-alL"))
#+END_SRC
+Set up a keybinding for invoking =dired-rmjunk= from =dired-mode=.
+
+#+BEGIN_SRC elisp
+(use-package dired-rmjunk
+ :bind
+ (:map dired-mode-map
+ ("r" . dired-rmjunk))
+#+END_SRC
+
+Implement my customizations from =rmshit.py=.
+
+#+BEGIN_SRC elisp
+ :init
+ (setq dired-rmjunk-patterns
+ '("~/.recently-used"
+ "~/.local/share/recently-used.xbel"
+ "~/.thumbnails"
+ "~/.gconfd"
+ "~/.gconf"
+ "~/.local/share/gegl-0.2"
+ "~/.gstreamer-0.10"
+ "~/.esd_auth"
+ "~/.config/enchant"
+ "~/.parallel"
+ "~/.dbus"
+ "~/ca2"
+ "~/ca2~"
+ "~/.nv/"
+ "~/.npm/"
+ "~/.java/"
+ "~/.oracle_jre_usage/"
+ "~/.jssc/"
+ "~/.tox/"
+ "~/.pylint.d/"
+ "~/.sqlite_history"
+ "~/.python_history"
+ "~/.lesshst"
+ "~/.audacity-data"
+ "~/.wget-hsts"
+ "~/.scapy_history"
+ "~/.gdb_history"
+ "~/.binwalk"
+ "~/.lyrics"
+ "~/.slime-history.eld")))
+#+END_SRC
+
** Tramp
Preference of hygene. See [[Filesystem]].

© 2015 - 2026 Jakob L. Kreuze