zsh-users
 help / color / Atom feed
* [bug report] crashing when ' #' at beginning of line (interactive mode)
@ 2019-12-25 10:05 Roberto Polverelli Monti
  2019-12-25 10:57 ` Daniel Shahaf
  0 siblings, 1 reply; 2+ messages in thread
From: Roberto Polverelli Monti @ 2019-12-25 10:05 UTC (permalink / raw)
  To: zsh-users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-25 10:05 [bug report] crashing when ' #' at beginning of line (interactive mode) Roberto Polverelli Monti
2019-12-25 10:57 ` Daniel Shahaf

zsh-users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-users

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git