Add trash-cli aliases

This commit is contained in:
2023-11-27 21:45:25 -08:00
parent f3b3d60363
commit 3c4bfa3f1c

View File

@ -789,7 +789,13 @@ Take directly from doom-modeline."
("gf" "git fetch $*") ("gf" "git fetch $*")
("ga" "git add $*") ("ga" "git add $*")
("gcm" "git commit -m ${string-join $* \" \"}") ("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) (defun eshell/bm (&optional name)
"Change to directory of bookmark NAME. "Change to directory of bookmark NAME.
If no name is given, list all bookmarks instead." If no name is given, list all bookmarks instead."