【发布时间】:2020-09-23 14:47:37
【问题描述】:
【问题讨论】:
-
不知道zsh有没有内置的自动补全。我只能建议您使用插件...
-
这里不是主题; Stack Overflow 专门针对关于开发软件的问题。考虑Super User 或Unix & Linux 作为用户与 UNIX 工具交互的问题。
标签: linux bash ubuntu command-line zsh
【问题讨论】:
标签: linux bash ubuntu command-line zsh
(https://github.com/zsh-users/zsh-completions)
来自 Ubuntu 软件包echo "deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-completions/xUbuntu_19.10/ /" | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-completions.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-completions/xUbuntu_19.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells:zsh-users:zsh-completions.gpg > /dev/null
sudo apt update
sudo apt install zsh-completions
来自 Gitub 存储库
git clone git://github.com/zsh-users/zsh-completions.git
fpath=(path/to/zsh-completions/src $fpath)
rm -f ~/.zcompdump; compinit
【讨论】: