about summary refs log tree commit diff
path: root/Completion/BSD/Command/_ldap
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-02-18 01:10:10 +0100
committerOliver Kiddle <opk@zsh.org>2023-02-19 17:20:35 +0100
commitc83ce203f5c78d3b4da8d59807fcfbcc23be2a21 (patch)
tree99c4b8bb2265d64fefbd756c76983271a1538105 /Completion/BSD/Command/_ldap
parent6f4aa1d9496ed37e6ebbf70d86a35a9d5e1fb605 (diff)
downloadzsh-c83ce203f5c78d3b4da8d59807fcfbcc23be2a21.tar.gz
zsh-c83ce203f5c78d3b4da8d59807fcfbcc23be2a21.tar.xz
zsh-c83ce203f5c78d3b4da8d59807fcfbcc23be2a21.zip
51455, 51461: new completion for the OpenLDAP client tools including a helper function for LDAP search filters
Diffstat (limited to 'Completion/BSD/Command/_ldap')
-rw-r--r--Completion/BSD/Command/_ldap4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/BSD/Command/_ldap b/Completion/BSD/Command/_ldap
index 8fa17e2f8..181e6b0d0 100644
--- a/Completion/BSD/Command/_ldap
+++ b/Completion/BSD/Command/_ldap
@@ -80,8 +80,8 @@ else
         '-x[use simple authentication]' \
         '-Z[use StartTLS]' \
         '-z+[specify maximum number of results or 0 for no limit]:size limit [0]:' \
-        '::filter:' \
-        '*:attribute:'
+        '1: :_ldap_filters' \
+        '*: :_ldap_attributes'
       ;;
   esac
 fi