summaryrefslogtreecommitdiff
path: root/.config/fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish')
-rw-r--r--.config/fish/config.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 69916b5..402907c 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -23,7 +23,7 @@ if status is-interactive
end
function rm --wraps rm
- if string match -qr -- '^-[rf]' $argv
+ if string match -qr -- '^-[rf]' $argv || not type -qf trash
command rm $argv
else
echo "No. Use trash or shred instead."