允许在zsh命令行上编写的命令中添加注释可能很有用,例如bash,但是
zsh
bash
% echo test # test zsh: bad pattern: #
有什么方法可以获得与bashshell相同的行为?
command-history zsh
command-history ×1
zsh ×1