Sha256: cee3b920157ec1d06257a803d86e7ee8888616dd4420137fd3b99e41c22a82db
Contents?: true
Size: 563 Bytes
Versions: 8
Compression:
Stored size: 563 Bytes
Contents
_boom_complete() { local cur prev lists COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" lists=`boom | awk '{print $1}'` case "${prev}" in boom) COMPREPLY=( $(compgen -W "${lists}" -- ${cur}) ) return 0 ;; *) for ((i = 0; i < ${#lists}; i++)); do local items=`boom $prev | awk '{print $1}' | sed -e 's/://'` COMPREPLY=( $(compgen -W "${items}" -- ${cur})) return 0 done ;; esac } complete -F _boom_complete boom
Version data entries
8 entries across 8 versions & 1 rubygems