Add trash-cli aliases

This commit is contained in:
Alexander Rosenberg 2023-11-27 21:45:25 -08:00
parent f3b3d60363
commit 3c4bfa3f1c
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

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