aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-12-18 16:17:03 +0100
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-12-18 16:17:03 +0100
commita3d96708eccd024489b7369c8d7f0b51699effab (patch)
treed31062de25889da8662f88d5bb149a1f42b6d09c
parentf2519e58db682d7afd72e6667652eaeccf372772 (diff)
downloadpaludis-a3d96708eccd024489b7369c8d7f0b51699effab.tar.gz
paludis-a3d96708eccd024489b7369c8d7f0b51699effab.tar.xz
Whitespace
-rw-r--r--zsh-completion/_paludis23
1 files changed, 12 insertions, 11 deletions
diff --git a/zsh-completion/_paludis b/zsh-completion/_paludis
index 928092a..d820398 100644
--- a/zsh-completion/_paludis
+++ b/zsh-completion/_paludis
@@ -119,26 +119,27 @@ _paludis() {
#dispatch
if (( $words[(I)(--(uninstall|config)|-[[:alpha:]]#u[[:alpha:]]#)] )) ; then
_arguments -s \
- $general_args[@] $deplist_args[@] $install_uninstall_args[@] $uninstall_args[@] \
+ $general_args[@] $deplist_args[@] $install_uninstall_args[@] $uninstall_args[@] \
"*:installed package:_paludis_packages installed" && return 0
elif (( $words[(I)--uninstall-unused] )) ; then
- _arguments -s \
- $deplist_args[@] $install_uninstall_args[@] && return 0
- elif (( $words[(I)(--owner|-[[:alpha:]]#o[[:alpha:]]#)] )) ;then
_arguments -s \
- $general_args[@] $owner_args[@]\
- "*:Files:_files" && return 0
- elif (( $words[(I)(--install|-[[:alpha:]]#i[[:alpha:]]#)] )) ;then
+ $deplist_args[@] $install_uninstall_args[@] && return 0
+ elif (( $words[(I)(--owner|-[[:alpha:]]#o[[:alpha:]]#)] )) ; then
_arguments -s \
- $general_args[@] $deplist_args[@] $install_uninstall_args[@] \
+ $general_args[@] $owner_args[@] \
+ "*:Files:_files" && return 0
+ elif (( $words[(I)(--install|-[[:alpha:]]#i[[:alpha:]]#)] )) ; then
+ _arguments -s \
+ $general_args[@] $deplist_args[@] $install_uninstall_args[@] \
"*:available packages:_paludis_packages available" && return 0
- elif (( $words[(I)(--query|-[[:alpha:]]#q[[:alpha:]]#)] )) ;then
+ elif (( $words[(I)(--query|-[[:alpha:]]#q[[:alpha:]]#)] )) ; then
_arguments -s \
- $general_args[@] $query_args[@]\
+ $general_args[@] $query_args[@]\
"*:available packages:_paludis_packages available" && return 0
else
_arguments -s \
- $general_args[@] $deplist_args[@] $list_args[@] $lists[@] $install_uninstall_args[@] $uninstall_args[@] $owner_args[@] $query_args[@] "$action_args[@]" "*:available packages:_paludis_packages available" && return 0
+ $general_args[@] $deplist_args[@] $list_args[@] $lists[@] $install_uninstall_args[@] $uninstall_args[@] $owner_args[@] $query_args[@] "$action_args[@]" \
+ "*:available packages:_paludis_packages available" && return 0
fi
}