about summary refs log tree commit diff
path: root/Completion/Builtins/_functions
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_functions')
-rw-r--r--Completion/Builtins/_functions6
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/Builtins/_functions b/Completion/Builtins/_functions
index 9e6925ce7..98b21da68 100644
--- a/Completion/Builtins/_functions
+++ b/Completion/Builtins/_functions
@@ -2,7 +2,5 @@
 
 local expl
 
-_tags argument:any functions || return 1
-
-_description expl 'shell function'
-compadd "$expl[@]" "$@" - "${(k@)functions}"
+_wanted functions expl 'shell function' &&
+    compadd "$expl[@]" "$@" - "${(k@)functions}"