问题描述
在Linux下(最好使用bash)选择CVS模块时,如何获得制表符补全功能?
How can I get tab completion to work for selecting CVS modules under Linux (preferably using bash) ?
例如,"cvs co" +选项卡将列出我可以检出的模块.我听说使用zsh很容易,但是我还是没有设法使其正常工作.
For example, "cvs co " + tab would list the modules I can checkout. I've heard it's easy to do using zsh, but still I didn't manage to get it working either.
此外,如何列出CVSROOT中可用的所有可用模块(或存储库?)?
Also, how can I list all available modules (or repositories?) available in the CVSROOT?
推荐答案
实际上,正如你们所说,Ubuntu内置了对CVS模块的制表符完成的支持.
Actually, as you guys said, Ubuntu has built in support for tab completion of CVS modules.
我缺少的一件事,我必须在CVSROOT/modules文件中手动添加模块名称及其别名的映射,以使受支持的完成工作正常进行.
The one thing I was missing, I have to manually add a mapping of the module name and its alias in the CVSROOT/modules file for the supported completion to work.
这篇关于Linux下模块的CVS选项卡完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!