how to make zsh in interactive mode treat # as comments? and not error?
- User
how to make zsh in interactive mode treat # as comments? and not error?
- Assistant
By default, zsh does not treat lines starting with
#as comments in interactive mode. This can be inconvenient if you like writing comments directly in your interactive shell sessions. To change this behavior, you need to enable theinteractivecommentsoption.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.