about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Zsh/Command/_typeset1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index efdfded27..668ef3bfc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-10-14  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 44809: Completion/Zsh/Command/_typeset: Complete 'functions -c'
+
 2019-10-12  dana  <dana@dana.is>
 
 	* 44767: Completion/Base/Core/_description: Ignore -J
diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index fb7189c77..ae33ae539 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -61,6 +61,7 @@ case ${service} in
       '(-k -t -T -u -U -W -x -z -M +M +k +t +W +z)-+M[define mathematical function]'
       '(-k -m -t -T -u -U -W -x -z +M +k +t +W +z)-s[define mathematical function that takes a string argument]'
       '(-M)-x+[specify spaces to use for indentation]:spaces'
+      '(-* +*)-c[copy shell function to another name]:old name:_functions:new name:_functions'
     )
   ;;
   integer)