我试图让Ubuntu下的command-not-found特性在zsh下工作,但没有运气:
➜ ~ pdfunite
zsh: command not found: pdfunite
➜ ~ bash
u@ub:~$ pdfunite
The program 'pdfunite' is currently not installed. You can install it by typing:
sudo apt-get install poppler-utils有没有人知道是否有可用的包也支持zsh?
谢谢。
发布于 2013-07-26 08:15:16
您必须在您的.zshrc中获取它:
if [[ -s '/etc/zsh_command_not_found' ]]; then
source '/etc/zsh_command_not_found'
fi脚本是包命令的一部分-not-found:
$ apt-cache search zsh_command_not_found
> command-not-found: /etc/zsh_command_not_foundhttps://askubuntu.com/questions/324725
复制相似问题