completion/boom.bash in boom-0.4.0 vs completion/boom.bash in boom-0.5.0

- old
+ new

@@ -5,10 +5,10 @@ prev="${COMP_WORDS[COMP_CWORD-1]}" curr_list=`eval echo "$prev"` local IFS=$'\n' if [ $COMP_CWORD -eq 1 ]; then - lists=`boom | sed 's/^ \(.*\) ([0-9]\+)$/\1/'` + lists=`boom | sed 's/^ \(.*\) ([0-9]\{1,\})$/\1/'` COMPREPLY=( $( compgen -W '${lists}' -- ${cur} ) ) elif [ $COMP_CWORD -eq 2 ]; then items=`boom $curr_list | sed 's/^ \(.\{0,16\}\):.*$/\1/'` COMPREPLY=( $( compgen -W '${items}' -- ${cur} ) ) fi