diff options
author | 2008-05-15 12:26:03 +0000 | |
---|---|---|
committer | 2008-05-15 12:26:03 +0000 | |
commit | 3c37bd45a3ab7c322b1544e473f152ac6aa4b045 (patch) | |
tree | 6adc1896974d1304431c1f6a884e17e9ba29f3e1 /gentoo | |
parent | revert that for now (diff) | |
download | gentoo-bashcomp-3c37bd45a3ab7c322b1544e473f152ac6aa4b045.tar.gz gentoo-bashcomp-3c37bd45a3ab7c322b1544e473f152ac6aa4b045.tar.bz2 gentoo-bashcomp-3c37bd45a3ab7c322b1544e473f152ac6aa4b045.zip |
opengl-update and etcat are long gone
svn path=/trunk/; revision=65
Diffstat (limited to 'gentoo')
-rw-r--r-- | gentoo | 68 |
1 files changed, 0 insertions, 68 deletions
@@ -1067,25 +1067,6 @@ complete $nospace -F _javaconfig java-config } # -# opengl-update completion command -# -have opengl-update && { -_openglupdate() -{ - local cur - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - if [[ ${#COMP_WORDS[*]} -le 2 ]]; then - COMPREPLY=($(compgen -W "$(for i in /usr/lib/opengl/*; do [ -d $i ] && echo ${i##*/}; done)" $cur)) - else - unset COMPREPLY - fi - return 0 -} -complete -F _openglupdate opengl-update -} - -# # browser-config completion command # have browser-config && { @@ -1618,55 +1599,6 @@ _webapp_config() complete -F _webapp_config webapp-config } -# -# etcat completion -# - -have etcat && { -_etcat() -{ - local cur prev opts - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="-b belongs -c changes -d depends -f files -s size -u uses -v - versions" - - if [[ ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=($(compgen -W "${opts}" -- ${cur})) - return 0 - fi - - case "${prev}" in - -b|belongs) - COMPREPLY=($(compgen -f -- ${cur})) - ;; - -c|changes|-v|versions) - _pkgname -A ${cur} - ;; - -d|depends) - # kinda hard to complete on a regex... - COMPREPLY=() - ;; - -f|files|-s|size|-u|uses) - _pkgname -I ${cur} - ;; - *) - local x b=0 - for x in ${COMP_WORDS[@]} ; do - [[ ${x} == "-b" || ${x} == "belongs" ]] && b=1 - done - - if [[ ${b} -eq 1 ]] ; then - local portdir=$(_portdir) - COMPREPLY=($(compgen -W "$(< ${portdir}/profiles/categories)" -- ${cur})) - fi - ;; - esac -} -complete -o filenames -F _etcat etcat -} - have revdep-rebuild && { _revdep_rebuild() { local cur prev opts |