Path : /proc/2/cwd/proc/2/task/2/cwd/usr/share/bash-completion/completions/ |
Current File : //proc/2/cwd/proc/2/task/2/cwd/usr/share/bash-completion/completions/isosize |
_isosize_module() { local cur prev OPTS COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in '-d'|'--divisor') COMPREPLY=( $(compgen -W "number" -- $cur) ) return 0 ;; '-h'|'--help'|'-V'|'--version') return 0 ;; esac OPTS='--divisor --sectors --help --version' COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) return 0 } complete -F _isosize_module isosize