Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[bug report] crashing when ' #' at beginning of line (interactive mode)



Hi,

I noticed that starting a command with ` #' results in crashing of the
shell, when the following three options are active: HIST_IGNORE_SPACE,
HIST_REDUCE_BLANKS and INTERACTIVE_COMMENTS.

I originally erroneously posted this here:
https://github.com/zsh-users/zsh-syntax-highlighting/issues/648

Minimal reproduction:

```
$ zsh -f
isolengo% setopt HIST_IGNORE_SPACE
isolengo% setopt HIST_REDUCE_BLANKS
isolengo% setopt INTERACTIVE_COMMENTS
isolengo%  #
zsh: segmentation fault (core dumped)  zsh -f
```

Kind regards,
Roberto



Messages sorted by: Reverse Date, Date, Thread, Author