Current Path : /usr/share/bash-completion/completions/ |
Current File : //usr/share/bash-completion/completions/jar |
# jar(1) completion -*- shell-script -*- _jar() { local cur prev words cword _init_completion || return if [[ $cword -eq 1 ]]; then COMPREPLY=( $( compgen -W 'c t x u' -- "$cur" ) ) return fi case ${words[1]} in *c*f) _filedir ;; *f) _filedir_xspec unzip ;; *) _filedir ;; esac } && complete -F _jar jar # ex: filetype=sh