aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-01-09 06:14:59 +0100
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-01-09 06:14:59 +0100
commit6cf45c1cfa4bf675095a244693b9dbfd5e08daca (patch)
tree8f8094e9661f5059c9886ec854d82886ac910595
parent5ad0a637c880b187fcc24dc33a6f15eb18e0dfb5 (diff)
downloadpaludis-6cf45c1cfa4bf675095a244693b9dbfd5e08daca.tar.gz
paludis-6cf45c1cfa4bf675095a244693b9dbfd5e08daca.tar.xz
Revert "Pass calls to paludis through _call_program."
Breaks horrible, will have to figure out how to do it properly. This reverts commit 06ef544b47fb7644736a1db31e810cbde9fcd492.
-rw-r--r--zsh-completion/_paludis_packages16
1 files changed, 8 insertions, 8 deletions
diff --git a/zsh-completion/_paludis_packages b/zsh-completion/_paludis_packages
index ce45f7a..2ed5941 100644
--- a/zsh-completion/_paludis_packages
+++ b/zsh-completion/_paludis_packages
@@ -9,37 +9,37 @@ local flags prepo packages categories paludis_pkgs
_paludis_packages_update_available() {
if [[ $PREFIX != -* ]]; then
if [[ $PREFIX != */* ]];then
- paludis_pkgs=(${(o)${${(M)${(f)"$(_call_program paludis --log-level silent --list-packages)"}:#\* *}##\* }##*/})
+ paludis_pkgs=(${(o)${${(M)${(f)"$(paludis --log-level silent --list-packages)"}:#\* *}##\* }##*/})
_wanted paludis_pkgs expl "packages" compadd - ${(@)paludis_pkgs}
- categories=(${${(M)${(f)"$(_call_program paludis --log-level silent --list-categories)"}:#\* *}##\* })
+ categories=(${${(M)${(f)"$(paludis --log-level silent --list-categories)"}:#\* *}##\* })
_wanted cat_packages expl "category/packages" compadd -S "/" $categories
else
compset -P '*/'
- packages=(${${${(M)${(f)"$(_call_program paludis --log-level silent --category ${IPREFIX//\//} --list-packages)"}:#\* *}##\* }//$IPREFIX/})
+ packages=(${${${(M)${(f)"$(paludis --log-level silent --category ${IPREFIX//\//} --list-packages)"}:#\* *}##\* }//$IPREFIX/})
_wanted cat_packages expl "category/packages" compadd ${(@)packages}
fi
fi
}
_paludis_packages_update_repository-formats() {
- packages=(${${(M)${(f)"$(_call_program paludis --log-level silent --list-repository-formats)"}:#\* *}##\* })
+ packages=(${${(M)${(f)"$(paludis --log-level silent --list-repository-formats)"}:#\* *}##\* })
compadd ${(@)packages}
}
_paludis_packages_update_installed() {
- packages=(${${(M)${(f)"$(_call_program paludis --log-level silent --repository installed --list-packages)"}:#\* *}##\* })
+ packages=(${${(M)${(f)"$(paludis --log-level silent --repository installed --list-packages)"}:#\* *}##\* })
compadd ${(@)packages}
}
_paludis_packages_update_categories() {
- packages=(${${${(M)${(f)"$(_call_program paludis --log-level silent --list-categories)"}:#\* *}##\* }:#*(virtual|installed)*})
+ packages=(${${${(M)${(f)"$(paludis --log-level silent --list-categories)"}:#\* *}##\* }:#*(virtual|installed)*})
compadd ${(@)packages}
}
_paludis_packages_update_repositories() {
- packages=(${${${(M)${(f)"$(_call_program paludis --log-level silent --list-repositories)"}:#\* *}##\* }:#*(virtual|installed)*})
+ packages=(${${${(M)${(f)"$(paludis --log-level silent --list-repositories)"}:#\* *}##\* }:#*(virtual|installed)*})
compadd ${(@)packages}
}
_paludis_packages_update_sets() {
- packages=(${${${(M)${(f)"$(_call_program paludis --log-level silent --list-sets)"}:#\* *}##\* }:#*(virtual|installed)*})
+ packages=(${${${(M)${(f)"$(paludis --log-level silent --list-sets)"}:#\* *}##\* }:#*(virtual|installed)*})
compadd ${(@)packages}
}
_paludis_packages() {