回答:
そうでない場合はglob-expand-word、キーシーケンスにバインドする必要があります。通常は次のように追加します。
"\C-x*": glob-expand-word
に.inputrc。
現在のステータスの問題を確認するには、次のようにします。
bind -P | grep glob-expand-word
結果は次のようになります。
glob-expand-word can be found on "\C-x*".
つまり:
Ctrl-x*
これもおそらく動作します:
Ctrl-xCtrl-*
bind -P他の細かい点については、マニュアルをご覧ください。
リストの完成を探しているようです。のmanページでbash:
COMP_TYPE
Set to an integer value corresponding to the type of completion
attempted that caused a completion function to be called: TAB,
for normal completion, ?, for listing completions after succes‐
sive tabs, !, for listing alternatives on partial word comple‐
tion, @, to list completions if the word is not unmodified, or
%, for menu completion. This variable is available only in
shell functions and external commands invoked by the program‐
mable completion facilities
そのため、これがどのように完了するかは、いくつかのコマンドの完了関数に依存します。
set -o vibashで使用している場合、Ctrl-X*機能しません。
でset -o viモードあなたが使用する必要がありますEsc*代わりに。
<C-X>*入ると機能するが、これ<C-X>は不必要で何もしないことに注意してください。(<C-X>viの場合のように減少しません。)挿入モードの場合は、<Esc>最初に使用する必要があります。
man readline。私はBashを10年間使用していますが、まだ新しいものを学習しています。
Ctrl-X*