是否可以将zsh外壳配置为在不存在命令时显示bash显示的内容,类似于以下内容:The program 'sysv-rc-conf' is currentlyYou can install it by typing: 而不是ZSH提示:
[kahless /home/teward]% sysv-rc-confzsh: command not found
通过在我的... command not found but can be installed with...中添加source /etc/zsh_command_not_found,我发现了如何允许“原始(预期)行为:Non_existant_command: command not found新(不想要的)行为:
~$ Non_existant_