about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2019-10-10 03:48:12 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2019-10-14 01:24:47 +0000
commitc263b79c5930d7c298fd4b389683bf7bdbcea603 (patch)
treef224c4727d6a09f05305ddffb9c766b1b4473f08
parent7b24b2662e19c19349568c1fca389917e62accc2 (diff)
downloadzsh-c263b79c5930d7c298fd4b389683bf7bdbcea603.tar.gz
zsh-c263b79c5930d7c298fd4b389683bf7bdbcea603.tar.xz
zsh-c263b79c5930d7c298fd4b389683bf7bdbcea603.zip
44809: _typeset: Complete 'functions -c'
-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)