about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-08-14 14:16:45 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-08-14 14:16:45 +0000
commitd0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b (patch)
tree406db7fd7f8ac448b4596e0c1fada5e589db5914 /Src
parent20c52f622154ed00fac8ed3cf6416e955551d372 (diff)
downloadzsh-d0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b.tar.gz
zsh-d0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b.tar.xz
zsh-d0366e19605f8ab3c2d05ec9a7dbcb63c41ac89b.zip
unposted: fix a typo in a comment.
Diffstat (limited to 'Src')
-rw-r--r--Src/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hist.c b/Src/hist.c
index 6edd7b8cd..636f46411 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -229,7 +229,7 @@ ihwaddc(int c)
 	/* Quote un-expanded bangs in the history line. */
 	if (c == bangchar && stophist < 2 && qbang)
 	    /* If qbang is not set, we do not escape this bangchar as it's *
-	     * not mecessary (e.g. it's a bang in !=, or it is followed    *
+	     * not necessary (e.g. it's a bang in !=, or it is followed    *
 	     * by a space). Roughly speaking, qbang is zero only if the    *
 	     * history interpreter has already digested this bang and      *
 	     * found that it is not necessary to escape it.                */