summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-12-12 03:32:16 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-12-12 03:32:16 +0000
commita1cadac8cebdd2cb95bc492cb6bc7fb21ef7ebf4 (patch)
tree1f4e63243a9002c8a9c616d541d089f278e6d3ae
parentApply Gentoo Prefix patch to trunk and tags/release-20100613 (diff)
downloadgentoo-bashcomp-a1cadac8cebdd2cb95bc492cb6bc7fb21ef7ebf4.tar.gz
gentoo-bashcomp-a1cadac8cebdd2cb95bc492cb6bc7fb21ef7ebf4.tar.bz2
gentoo-bashcomp-a1cadac8cebdd2cb95bc492cb6bc7fb21ef7ebf4.zip
bug 327953: better completion for the ebuild command, by Martin von Gagern
svn path=/trunk/; revision=103
-rw-r--r--gentoo4
1 files changed, 2 insertions, 2 deletions
diff --git a/gentoo b/gentoo
index 7e551c9..90328ec 100644
--- a/gentoo
+++ b/gentoo
@@ -717,7 +717,7 @@ _ebuild()
fi
return 0
}
-complete $filenames -F _ebuild ebuild
+complete -o filenames -F _ebuild ebuild
}
#
@@ -1353,7 +1353,7 @@ _ekeyword()
;;
esac
}
-complete ${filenames} -F _ekeyword ekeyword
+complete -o filenames -F _ekeyword ekeyword
}
#