about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorEitan Adler <lists@eitanadler.com>2016-11-28 22:53:24 -0800
committerPeter Stephenson <pws@zsh.org>2016-11-29 17:13:52 +0000
commit110ffae9fefa1367af4fdcc90a456de23b92436c (patch)
tree128741c763d41ab88e6130028507ffdd0c80fc13 /Completion/Zsh
parent32daf2a0aa3c72e8b43cf28e880f1aeffde937da (diff)
downloadzsh-110ffae9fefa1367af4fdcc90a456de23b92436c.tar.gz
zsh-110ffae9fefa1367af4fdcc90a456de23b92436c.tar.xz
zsh-110ffae9fefa1367af4fdcc90a456de23b92436c.zip
40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_zstyle2
-rw-r--r--Completion/Zsh/Function/_zargs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index d6f285271..0e828225e 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -266,7 +266,7 @@ while (( $#state )); do
       _wanted contexts expl "$state_descr" compadd -a patterns
       ;;
 
-    # 'metapatterns': patterns that are are matched not against contexts, but
+    # 'metapatterns': patterns that are matched not against contexts, but
     # against patterns.
     (metapatterns)
       zstyle -g patterns
diff --git a/Completion/Zsh/Function/_zargs b/Completion/Zsh/Function/_zargs
index c24b276f2..f974ab646 100644
--- a/Completion/Zsh/Function/_zargs
+++ b/Completion/Zsh/Function/_zargs
@@ -4,7 +4,7 @@ local arguments eofstr pos=$((CURRENT)) numeofs=0 ret=1 cmdpos=1
 
 #this doesn't handle '--' on the command line, only --
 #it also by extension doesn't handle eofstr being the empty string
-#it also also doesn't handle eofstr being -e or --eof, and everything will
+#it also doesn't handle eofstr being -e or --eof, and everything will
 # probably also be confused if the command at the end takes a -e, --eof= or --
 eofstr=${${${${words[(r)(--eof=*|-e*)]}#--eof=}#-e}:---}
 while {