zsh - add `setopt interactivecomments`
dluc opened this issue · comments
Devis Lucato commented
in zsh terminal #
can be interpreted as a command, for example see the error here:
# count to 5
for i in {1..5}; do echo $i; done
zsh: command not found: #
1
2
3
4
5
Calling setopt interactivecomments
fixes the problem, so I think it should be added to the zsh plugin
setopt interactivecomments
# count to 5
for i in {1..5}; do echo $i; done
1
2
3
4
5