小编El *_*nor的帖子

如何像在 Ubuntu bash 中一样启用 zsh 软件包建议?

我正在慢慢地从 bash 过渡到 zsh,并且几乎喜欢它的每个部分,但有两件事我真的很想念。其中之一是快照完成,请参阅此处: Enable snap TAB-completion for zsh

另一种是你在 Ubuntu 终端中输入命令,而不是“哦不!” 找不到命令!' 马上,你会得到这样的结果:

user@computer:~$ inkscape

Command 'inkscape' not found, but can be installed with:

sudo snap install inkscape  # version 0.92.4, or
sudo apt  install inkscape  # version 0.92.4-5ubuntu5

See 'snap info inkscape' for additional versions.
Run Code Online (Sandbox Code Playgroud)

有什么方法可以在 zsh 中启用此功能吗?我真的不想再为了使用它和快速自动补全而切换回 bash。

谢谢!

command-line zsh auto-completion

10
推荐指数
2
解决办法
4298
查看次数

标签 统计

auto-completion ×1

command-line ×1

zsh ×1