Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[bug report] crashing when ' #' at beginning of line (interactive mode)
- X-seq: zsh-users 24578
- From: Roberto Polverelli Monti <rpolverelli@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: [bug report] crashing when ' #' at beginning of line (interactive mode)
- Date: Wed, 25 Dec 2019 11:05:03 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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