diff --git a/lib/misc.zsh b/lib/misc.zsh
index 0b7cb26967437479cae98aae452985a9e9cb1c8e..c9a8e9e8f51af1c193afda6c946ab729395993d3 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