]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/commitdiff
allow comments in interactive mode
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Thu, 13 Jun 2024 08:11:39 +0000 (10:11 +0200)
committerHendrik Jäger <gitcommit@henk.geekmail.org>
Thu, 13 Jun 2024 08:11:39 +0000 (10:11 +0200)
.zshrc

diff --git a/.zshrc b/.zshrc
index 1ea2da7454ba7b4a9b383307d22898de95ee171a..9d9ed49591ffadadabdd852e7fe508b3a048259e 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -93,6 +93,9 @@ setopt EXTENDED_HISTORY
 # write line to history file when finished, not when started, to have correct runtime
 setopt INC_APPEND_HISTORY_TIME
 
+# Recognize comments on the command line
+setopt INTERACTIVE_COMMENTS
+
 # Error on a redirections which would overwrite an existing file
 setopt NO_CLOBBER
 setopt CORRECT