about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_zstyle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-01-17 09:23:34 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-01-17 09:23:34 +0000
commit5385a822b6de0fc5a805dfe99f78bdafdd476736 (patch)
tree5349ab762783b8831cd63a718de149639d3b63de /Completion/Zsh/Command/_zstyle
parent1e7c463fd951b1446f219b5ac54295496755b359 (diff)
downloadzsh-5385a822b6de0fc5a805dfe99f78bdafdd476736.tar.gz
zsh-5385a822b6de0fc5a805dfe99f78bdafdd476736.tar.xz
zsh-5385a822b6de0fc5a805dfe99f78bdafdd476736.zip
18121: add new function for completing e-mail addresses
Diffstat (limited to 'Completion/Zsh/Command/_zstyle')
-rw-r--r--Completion/Zsh/Command/_zstyle5
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index e72074202..4090f0ac3 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -48,6 +48,7 @@ styles=(
   fake-parameters	 c:fake-params
   file-patterns		 c:filepat
   file-sort              c:fsort
+  filter		 c:
   force-list             c:
   format		 c:
   glob			 c:bool
@@ -109,6 +110,7 @@ styles=(
   squeeze-slashes	 c:bool
   stop			 c:stop
   stop-keys		 c:
+  strip-comments	 c:bool
   subst-globs-only       c:bool
   substitute		 c:bool
   suffix		 c:bool
@@ -143,6 +145,7 @@ taglist=(
   prefixes printers processes processes-names ps regex sequences
   sessions signals strings styles tags targets timezones types urls
   users values variant visuals warnings widgets windows zsh-options
+  email-address ${(k)functions[(I)_email-*]#_}
 )
 
 _arguments -C \
@@ -294,7 +297,7 @@ while (( $#state )); do
       if compset -P '*:*:'; then
         _message -e descriptions description
       elif compset -P '*:'; then
-        _message -e aliases 'tag alias'
+        _message -e labels 'tag label'
       else
         suf=()
         compset -S ':*' || suf=( -qS: )