Sha256: fb1190f669d07c3b496528ccd6af146b943f48cb60cdaec545635fbbab35e99b
Contents?: true
Size: 526 Bytes
Versions: 7
Compression:
Stored size: 526 Bytes
Contents
#!/usr/bin/env bash # # Shhh command line completion # # © 2015-2016, Konstantin Gredeskoul, https://github.com/kigster/shhh # MIT LICENSE # _shhh() { local SHHH_OPTS SHHH_POINTS cur prev cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" COMPREPLY=() SHHH_COMP_OPTIONS=$(shhh --dictionary) [[ $COMP_CWORD == 1 ]] && SHHH_COMP_OPTIONS="${SHHH_COMP_OPTIONS} ${SHHH_COMMANDS}" COMPREPLY=( $(compgen -W "${SHHH_COMP_OPTIONS}" -- ${cur}) ) return 0 } complete -F _shhh shhh
Version data entries
7 entries across 7 versions & 1 rubygems