gpt4 book ai didi

linux - 我如何在 Linux 上连接到 tcsh 的 TAB 补全

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:41:19 25 4
gpt4 key购买 nike

我有一些包含许多“隐藏”文件的目录。这方面的一个例子是我在一个源代码控制的沙箱中,一些文件还没有被 check out 。

当我按下 TAB 键时,我想要查看这些文件的选项。

之前有人问过类似的问题:CVS Tab completion for modules under linux该问题的答案总结为:“Ubuntu 已内置”。

我没有切换到 Ubuntu 的选项,但我肯定可以使用相同的机制。

  1. 如何连接到 tcsh 的 TAB 完成功能以添加额外的文件支持 CVS、SVN 和 BitKeeper 都会很有用。
  2. 比支持特定的源代码控制系统更重要的是能够自己控制返回的列表。
  3. 一个可接受的解决方案是使用 TAB 以外的键绑定(bind)。 (Ctrl-也许)

最佳答案

来自手册页:

the complete builtin command can be used to tell the shell how to complete words other than filenames, commands and variables

可能会让你开始

关于linux - 我如何在 Linux 上连接到 tcsh 的 TAB 补全,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/983686/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com