aboutsummaryrefslogtreecommitdiff
path: root/fish/functions/rm.fish
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fish/functions/rm.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish/functions/rm.fish b/fish/functions/rm.fish
new file mode 100644
index 0000000..7d8fe20
--- /dev/null
+++ b/fish/functions/rm.fish
@@ -0,0 +1,3 @@
+function rm --wraps=trash --description 'alias rm trash'
+ trash $argv
+end