zsh-users
 help / color / mirror / code / 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, other threads:[~2019-12-25 10:58 UTC | newest]

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

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).