]> Freerunner's - dotfiles.git/commitdiff
fish: use trash-put instead of real rm
authorAndre Ramnitz <andre.ramnitz@mail.de>
Thu, 13 Aug 2026 17:31:02 +0000 (19:31 +0200)
committerAndre Ramnitz <andre.ramnitz@mail.de>
Thu, 13 Aug 2026 17:31:02 +0000 (19:31 +0200)
dot-config/fish/functions/rm.fish [new file with mode: 0644]

diff --git a/dot-config/fish/functions/rm.fish b/dot-config/fish/functions/rm.fish
new file mode 100644 (file)
index 0000000..380c481
--- /dev/null
@@ -0,0 +1,3 @@
+function rm --wraps=trash-put --description 'alias rm trash-put'
+    trash-put $argv
+end