比如,假设我没安装 vim,我输入 vim 1.cpp 的时候,就会显示 zsh:command not found,但是以前在 bash 的时候,是会给出命令:
Command 'vim' not found, but can be installed with:
sudo apt install vim # version 2:8.1.2269-1ubuntu5, or sudo apt install vim-tiny # version 2:8.1.2269-1ubuntu5 sudo apt install neovim # version 0.4.3-3 sudo apt install vim-athena # version 2:8.1.2269-1ubuntu5 sudo apt install vim-gtk3 # version 2:8.1.2269-1ubuntu5 sudo apt install vim-nox # version 2:8.1.2269-1ubuntu5
告诉我要怎么安装 vim,我很喜欢这个小提示,请问 zsh 中怎么开启呢?
1
maichael 2020-07-18 13:17:42 +08:00 1
|
2
Jirajine 2020-07-18 13:29:42 +08:00 via Android
ohmyzsh 有个 command not found 的插件
|