Server IP : 15.235.198.142 / Your IP : 216.73.216.9 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# update-initramfs(8) completion _update_initramfs() { local cur prev valid_options _get_comp_words_by_ref cur prev # The only option that takes an argument is -k if [[ "$prev" == '-k' ]]; then # Complete with kernel versions _kernel_versions COMPREPLY=( $( compgen -W '${COMPREPLY[@]} all' -- "$cur" ) ) 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