首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ubuntu14.04 apt/智能自动完成与噢-我的-zsh不工作

Ubuntu14.04 apt/智能自动完成与噢-我的-zsh不工作
EN

Stack Overflow用户
提问于 2014-06-02 23:59:58
回答 1查看 2.8K关注 0票数 5

我最近开始在Ubuntu14.04服务器上使用zsh。问题是debian插件的自动完成不起作用,即

代码语言:javascript
复制
ai something<TAB>

不会自动完成。当然了

代码语言:javascript
复制
aptitude install somethi<TAB>
apt-get install somethi<TAB>

做正确的工作。git插件的噢-我-zsh也没有任何问题的工作。

所以我开始怀疑是否有人能解决这个问题。

如果有人需要更多信息,这里有一些相关的软件包:

代码语言:javascript
复制
⇒  aps zsh completion
p   bash-completion                                           - programmable completion for the bash shell
v   bash-completion:i386                                      -
p   fatrat-czshare                                            - fatrat plugin allowing download and upload to czshare
p   fatrat-czshare:i386                                       - fatrat plugin allowing download and upload to czshare
p   fizsh                                                     - Friendly Interactive ZSHell
v   git-completion                                            -
v   git-completion:i386                                       -
v   ncmpcpp-completion                                        -
v   ncmpcpp-completion:i386                                   -
i   zsh                                                       - shell with lots of features
p   zsh:i386                                                  - shell with lots of features
p   zsh-beta                                                  - transitional package to zsh
p   zsh-beta-doc                                              - transitional package to zsh-doc
i A zsh-common                                                - architecture independent files for Zsh
p   zsh-dbg                                                   - shell with lots of features (debugging symbols)
p   zsh-dbg:i386                                              - shell with lots of features (debugging symbols)
p   zsh-dev                                                   - shell with lots of features (development files)
p   zsh-dev:i386                                              - shell with lots of features (development files)
i   zsh-doc                                                   - zsh documentation - info/HTML format
p   zsh-lovers                                                - tips, tricks and examples for the zsh
p   zsh-static                                                - shell with lots of features (static link)
p   zsh-static:i386                                           - shell with lots of features (static link)
p   zshdb                                                     - debugger for Z-Shell scripts
EN

Stack Overflow用户

回答已采纳

发布于 2014-07-15 13:16:50

添加

代码语言:javascript
复制
setopt completealiases

等我的-zsh装好后,问题就解决了。

票数 5
EN
查看全部 1 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24005133

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档