我想循环浏览选项卡完整结果
I want to cycle through tab complete results
我有一个 bash 命令可以循环显示我从选项卡中列出的结果。
.cshrc 有类似的东西吗?
我想映射 ctrl d 键以循环浏览我的选项
谢谢
我想你想要 complete-word-fwd
命令?
来自联机帮助页:
complete-word-fwd (not bound)
Replaces the current word with the first word in the list of
possible completions. May be repeated to step down through the
list. At the end of the list, beeps and reverts to the incom‐
plete word.
如您所见,默认情况下未绑定,但您可以通过以下方式将其绑定到 ^D
:
bindkey ^D complete-word-fwd
还有complete-word-back
。
我有一个 bash 命令可以循环显示我从选项卡中列出的结果。 .cshrc 有类似的东西吗? 我想映射 ctrl d 键以循环浏览我的选项 谢谢
我想你想要 complete-word-fwd
命令?
来自联机帮助页:
complete-word-fwd (not bound)
Replaces the current word with the first word in the list of
possible completions. May be repeated to step down through the
list. At the end of the list, beeps and reverts to the incom‐
plete word.
如您所见,默认情况下未绑定,但您可以通过以下方式将其绑定到 ^D
:
bindkey ^D complete-word-fwd
还有complete-word-back
。