diff options
Diffstat (limited to 'lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh')
16 files changed, 0 insertions, 519 deletions
diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/README.txt b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/README.txt deleted file mode 100644 index 2a7b1c26..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/README.txt +++ /dev/null @@ -1,9 +0,0 @@ -THIS DIRECTORY AND ALL FILES INCLUDED ARE DEPRECATED. - -These are the old zsh completion functions for Twisted commands... they used -to contain full completion functions, but now they've simply been replaced -by the current "stub" code that delegates completion control to Twisted. - -This directory and included files need to remain for several years in order -to provide backwards-compatibility with an old version of the Twisted -stub function that was shipped with Zsh. diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_cftp b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_cftp deleted file mode 100644 index e89fcdb1..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_cftp +++ /dev/null @@ -1,34 +0,0 @@ -#compdef cftp -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_ckeygen b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_ckeygen deleted file mode 100644 index 38050a0d..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_ckeygen +++ /dev/null @@ -1,34 +0,0 @@ -#compdef ckeygen -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_conch b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_conch deleted file mode 100644 index e3ac3b6b..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_conch +++ /dev/null @@ -1,34 +0,0 @@ -#compdef conch -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_lore b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_lore deleted file mode 100644 index 8b1c3289..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_lore +++ /dev/null @@ -1,34 +0,0 @@ -#compdef lore -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_manhole b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_manhole deleted file mode 100644 index 54ec99f5..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_manhole +++ /dev/null @@ -1,34 +0,0 @@ -#compdef manhole -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_mktap b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_mktap deleted file mode 100644 index 2a08ea4a..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_mktap +++ /dev/null @@ -1,34 +0,0 @@ -#compdef mktap -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_pyhtmlizer b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_pyhtmlizer deleted file mode 100644 index 2fd2d6d7..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_pyhtmlizer +++ /dev/null @@ -1,34 +0,0 @@ -#compdef pyhtmlizer -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tap2deb b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tap2deb deleted file mode 100644 index b4e08360..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tap2deb +++ /dev/null @@ -1,34 +0,0 @@ -#compdef tap2deb -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tap2rpm b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tap2rpm deleted file mode 100644 index 10a083f6..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tap2rpm +++ /dev/null @@ -1,34 +0,0 @@ -#compdef tap2rpm -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tapconvert b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tapconvert deleted file mode 100644 index 41a0e4da..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tapconvert +++ /dev/null @@ -1,34 +0,0 @@ -#compdef tapconvert -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tkconch b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tkconch deleted file mode 100644 index 3af1f123..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tkconch +++ /dev/null @@ -1,34 +0,0 @@ -#compdef tkconch -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tkmktap b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tkmktap deleted file mode 100644 index 0e3bdaaf..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_tkmktap +++ /dev/null @@ -1,34 +0,0 @@ -#compdef tkmktap -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_trial b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_trial deleted file mode 100644 index b692f44f..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_trial +++ /dev/null @@ -1,34 +0,0 @@ -#compdef trial -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_twistd b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_twistd deleted file mode 100644 index 171224f9..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_twistd +++ /dev/null @@ -1,34 +0,0 @@ -#compdef twistd -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_websetroot b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_websetroot deleted file mode 100644 index 58ae5504..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/zsh/_websetroot +++ /dev/null @@ -1,34 +0,0 @@ -#compdef websetroot -# This file is deprecated. See README. - -# This is the ZSH completion file for Twisted commands. It calls the current -# command-line with the special "--_shell-completion" option which is handled -# by twisted.python.usage. t.p.usage then generates zsh code on stdout to -# handle the completions for this particular command-line. -# -# 3rd parties that wish to provide zsh completion for commands that -# use t.p.usage may copy this file and change the first line to reference -# the name(s) of their command(s). -# -# This file is included in the official Zsh distribution as -# Completion/Unix/Command/_twisted - -# redirect stderr to /dev/null otherwise deprecation warnings may get puked -# all over the user's terminal if completing options for mktap or other -# deprecated commands. Redirect stderr to a file to debug errors. -local cmd output -cmd=("$words[@]" --_shell-completion zsh:$CURRENT) -output=$("$cmd[@]" 2>/dev/null) - -if [[ $output == "#compdef "* ]]; then - # Looks like we got a valid completion function - so eval it to produce - # the completion matches. - eval $output -else - echo "\nCompletion error running command:" ${(qqq)cmd} - echo -n "If output below is unhelpful you may need to edit this file and " - echo "redirect stderr to a file." - echo "Expected completion function, but instead got:" - echo $output - return 1 -fi |