CVS tab completion for modules under Linux

耗尽温柔 提交于 2019-12-05 19:56:51

There is the Bash completion project. It has some cvs completion in it, I'm not 100% if it can determine all the modules for checkout. But it would be a good place to start.

I already have this behavior I think (don't have a reliable CVS repository to check against) in Ubuntu 8.04.

There's a lot of code in /etc/bash_completion to handle cvs completion, might wanna take a look at that.

And the command to list modules on a CVSRoot is cvs -d "$the_cvsroot" checkout -c

Actually, as you guys said, Ubuntu has built in support for tab completion of CVS 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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!