From f250fffdea4293bb8a760b55143656caf36d84d9 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 28 Feb 2024 09:32:25 -0800 Subject: [PATCH] allow `#` comments in interactive shells --- home/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/home/zshrc b/home/zshrc index c87d0b4..d74236c 100644 --- a/home/zshrc +++ b/home/zshrc @@ -26,6 +26,7 @@ setopt hist_ignore_space # don't push lines beginning with spaces setopt hist_reduce_blanks # trim superfluous spaces setopt hist_save_no_dups setopt hist_verify +setopt interactive_comments # allow #-comments in interactive shells setopt ksh_typeset # treat `local x=$(cmd)` and `local x="$(cmd)"` the same setopt menu_complete # autoselect the first completion entry setopt no_beep # be quiet