2017-01-25 34 views

回答

0

我想你想要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

+0

這是完美的!謝謝。你指的是什麼手冊頁? – user1869582

+0

@ user1869582'man csh'或'man tcsh'(這些天大多數'csh'通常是'tcsh')。 – Carpetsmoker