shitbox/pkg/usr/share/fish/completions/rm.fish

10 lines
665 B
Fish

complete -c rm -l interactive -d 'when to prompt' -r -f -a "{never ,once ,always }"
complete -c rm -s i -d 'prompt before every removal'
complete -c rm -s I -d 'prompt once before removing more than three files, or when removing recursively;
less intrusive than -i, while still giving protection against most mistakes'
complete -c rm -s f -l force -d 'ignore nonexistent files and arguments, never prompt'
complete -c rm -s R -l recursive -d 'operate on files and directories recursively'
complete -c rm -s v -l verbose -d 'output a diagnostic for every file processed'
complete -c rm -s h -l help -d 'Print help'
complete -c rm -s V -l version -d 'Print version'