From 28a034c8c53a41f5bbf9ce79bf8a0893fc3c64d2 Mon Sep 17 00:00:00 2001 From: Matias Larre Borges Date: Thu, 9 Feb 2023 16:14:04 +0100 Subject: [PATCH] Enable interactive comments As per: https://news.ycombinator.com/item?id=31405848 --- zsh/config.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/config.zsh b/zsh/config.zsh index 972bfbc..cc6ea00 100644 --- a/zsh/config.zsh +++ b/zsh/config.zsh @@ -43,6 +43,9 @@ setopt HIST_IGNORE_SPACE setopt HIST_VERIFY setopt HIST_EXPIRE_DUPS_FIRST +# Allow the use of comments inline +setopt interactivecomments + zle -N up-line-or-beginning-search zle -N down-line-or-beginning-search -- 2.38.5