Package: initramfs-tools Version: 0.93.3 Severity: wishlist Tags: patch Hi,
Please install the following as /etc/bash_completion.d/initramfs-tools to enable bash completion for update-initramfs : -------------------------------------------------- # update-initramfs(8) completion # provided by Stéphane (kwisatz) Jourdois <steph...@jourdois.fr> _update_initramfs() { local cur prev valid_options cur=`_get_cword` prev=${COMP_WORDS[COMP_CWORD-1]} # The only option that takes an argument is -k if [[ "$prev" == '-k' ]]; then # Complete with kernel versions _kernel_versions return; fi # Complete with available options (obtained from -h) valid_options=$( update-initramfs -h 2>&1 | \ sed -e '/^ -/!d;s/^ \(-\w\+\).*/\1/' ) COMPREPLY=( $( compgen -W "$valid_options" -- $cur ) ) } complete -F _update_initramfs update-initramfs -------------------------------------------------- Thanks in advance, Stéphane. -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org