bash completion recognises --bubble + adding options --symlist (-L), ++symlist (+L) and --bubblelist (-B)
This commit is contained in:
parent
a201c8de73
commit
73c518e260
3 changed files with 9 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ _ponysay()
|
|||
quoters=$('/usr/bin/ponysay' --quoters)
|
||||
COMPREPLY=( $( compgen -W "$quoters" -- "$cur" ) )
|
||||
|
||||
elif [ $prev = "-b" ] || [ $prev = "--balloon" ]; then
|
||||
elif [ $prev = "-b" ] || [ $prev = "--balloon" ] || [ $prev = "--bubble" ]; then
|
||||
balloons=$('/usr/bin/ponysay' --balloonlist)
|
||||
COMPREPLY=( $( compgen -W "$balloons" -- "$cur" ) )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue