Commit 399a1142 authored by Moritz Muehlenhoff's avatar Moritz Muehlenhoff

Fix bash completion for debpts elvi.

parent bb3b25ce
......@@ -13,7 +13,7 @@ _surfraw()
elif [ "$COMP_CWORD" -eq 1 ]
then COMPREPLY=( $( compgen -W "$elvi" -- $cur ) )
# "sr g<tab>" for google
elif [[ $prev == @(alioth|deb@(bug|content|package)s|freshmeat|sourceforge) ]]
elif [[ $prev == @(alioth|deb@(bug|content|package|pt)s|freshmeat|sourceforge) ]]
then COMPREPLY=( $(apt-cache --generate pkgnames $cur) )
# "sr debbugs 4<tab>" to check 44bsd-rdist bugs...
elif test -x /usr/bin/look # in bsdmainutils, "important"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment