summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTejas Bubane <tejas.bubane@infibeam.net>2014-12-23 12:48:09 +0530
committerncanceill <nicolas.canceill@ens-cachan.org>2015-06-10 14:36:54 +0200
commit16535452829d36f5382b176216a9ad312b2be1e5 (patch)
treea73ca323cd1627cf4adbbfd7af16ca29d9e97a4f /lib
parenta28dbc83937cbe624ec726199b4bbe7b65b2b2a0 (diff)
downloadzsh-16535452829d36f5382b176216a9ad312b2be1e5.tar.gz
zsh-16535452829d36f5382b176216a9ad312b2be1e5.tar.bz2
zsh-16535452829d36f5382b176216a9ad312b2be1e5.zip
Recognize comments by default.
Diffstat (limited to 'lib')
-rw-r--r--lib/misc.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/misc.zsh b/lib/misc.zsh
index 0b7cb2696..c9a8e9e8f 100644
--- a/lib/misc.zsh
+++ b/lib/misc.zsh
@@ -20,3 +20,6 @@ alias afind='ack-grep -il'
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
fi
+
+# recognize comments
+setopt interactivecomments