about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-08-14 02:35:32 +0200
committerDaniel Hahler <git@thequod.de>2015-08-14 02:35:32 +0200
commit5f8a18a561ef83857b2cafdc6eaa19bad254fe89 (patch)
tree76fcc78fd23c9e75a459a277debc7e283b8ec14b
parent422dae7b1c71033113eb7e9bdd655b07858f71d8 (diff)
downloadzsh-5f8a18a561ef83857b2cafdc6eaa19bad254fe89.tar.gz
zsh-5f8a18a561ef83857b2cafdc6eaa19bad254fe89.tar.xz
zsh-5f8a18a561ef83857b2cafdc6eaa19bad254fe89.zip
unposted: fix minor typos
-rw-r--r--Completion/Unix/Command/_tmux2
-rw-r--r--Src/Zle/zle_misc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index 896fae7cb..49c2b63ed 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -1577,7 +1577,7 @@ function _tmux() {
         '-2[force using 256 colours]'
         '-8[force using 88 colours]'
         '-c[execute a shell command]:command name:_command_names'
-        '-C[start tmux in contol mode. -CC disables echo]'
+        '-C[start tmux in control mode. -CC disables echo]'
         '-f[specify configuration file]:tmux config file:_files -g "*(-.)"'
         '-l[behave like a login shell]'
         '-L[specify socket name]:socket name:__tmux-socket-name'
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c
index 6f58af626..62fb8c86f 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -787,8 +787,8 @@ bracketedpaste(char **args)
 	    zmult = 1;
 	    if (region_active)
 		killregion(zlenoargs);
-	    /* chop a final newline if it's insertion would be hard to
-	     * distinguish by the user from the line being accepted */
+	    /* Chop a final newline if its insertion would be hard to
+	     * distinguish by the user from the line being accepted. */
 	    else if (n > 1 && zlecontext != ZLCON_VARED &&
 		    (zlecs + (insmode ? 0 : n - 1)) >= zlell &&
 		    wpaste[n-1] == ZWC('\n'))