From 3c4bfa3f1c63f1347ebe55f0ca5fccc122cdc57c Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 27 Nov 2023 21:45:25 -0800 Subject: [PATCH] Add trash-cli aliases --- init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index ff942e3..24a749c 100644 --- a/init.el +++ b/init.el @@ -789,7 +789,13 @@ Take directly from doom-modeline." ("gf" "git fetch $*") ("ga" "git add $*") ("gcm" "git commit -m ${string-join $* \" \"}") - ("ldg" "ledger -f \"$HOME/docs/finance/finances.ledger\" $*"))) + ("ldg" "ledger -f \"$HOME/docs/finance/finances.ledger\" $*") + ("tp" "trash-put $*") + ("trr" "trash-restore $*") + ("tre" "trash-empty $*") + ("tre" "trash-empty $*") + ("trm" "trash-rm $*") + ("rm" "echo 'rm: I''m unsafe! Don''t use me.'; false"))) (defun eshell/bm (&optional name) "Change to directory of bookmark NAME. If no name is given, list all bookmarks instead."