~hedy/dotfiles

dotfiles/.config/fish/functions/rm.fish -rw-r--r-- 177 bytes
29d99131 — hedy Fish: Fix prompt for fish v3.4.1 4 months ago
                                                                                
1
2
3
4
5
6
7
8
function rm --wraps=trash --description 'alias rm=trash'
    if command -sq trash
        trash $argv;
    else
        set rmpath (which rm)
        $rmpath $argv;
    end
end