File rm-completion-smart-boo958462.patch of Package bash-completion
Bug boo#958462
Allow the smart bash builtin completion if normal completion scripting
does not return anything.
---
bash-completion-2.12.0/bash_completion | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- bash-completion-2.12.0/bash_completion
+++ bash-completion-2.12.0/bash_completion 2024-02-23 08:12:55.346856835 +0000
@@ -3047,11 +3047,12 @@ complete -F _comp_complete_longopt -o fi
a2ps awk base64 bash bc bison cat chroot colordiff cp \
csplit cut date df diff dir du enscript expand fmt fold gperf \
grep grub head irb ld ldd less ln m4 mkdir mkfifo mknod \
- mv nl nm objcopy objdump od paste pr ptx readelf rm rmdir \
+ mv nl nm objcopy objdump od paste pr ptx readelf \
sed shar sort split strip sum tac tail tee \
texindex touch tr unexpand uniq vdir wc who
complete -F _comp_complete_longopt -o default env netstat seq uname units
complete -F _comp_complete_longopt -o bashdefault -o default -o filenames ls ll la l ls-l lf
+complete -F _comp_complete_longopt -o bashdefault -o default -o filenames rm rmdir
# @since 2.12
declare -Ag _comp_xspecs