-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I have added the following lines in my .zshrc:
if hash careful_rm.py 2>/dev/null; then
alias rm="$(command -v careful_rm.py)"
else
alias rm="rm -I"
fi
as described in the help file ($ rm -h).
Now
$ rm -cviI
and
$ careful_rm.py -cviI
work fine but I would like to have these options by default when I simply run $ rm.
How can it be done?
The alias
alias rm="careful_rm.py -cviI"
does not work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels