Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use basic regex, since that's all Macs support

  • Loading branch information...
commit 1423bb22cea613b44f63a035ac1dec249e38460b 1 parent fa5f8f6
@eugeneius eugeneius authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  completion/boom.bash
View
2  completion/boom.bash
@@ -7,7 +7,7 @@ _boom_complete() {
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/'`
Please sign in to comment.
Something went wrong with that request. Please try again.