dmenuのコマンドオプションに対してオートコンプリートを有効にするには?たとえば、デフォルトオプションを使用すると、
systemctl poweroff
オートコンプリートsystemctlだけpoweroffではない
ベストアンサー1
からman dmenu
:
DESCRIPTION
dmenu is a dynamic menu for X, which reads a list of newline-separated items from stdin. When the user
selects an item and presses Return, their choice is printed to stdout and dmenu terminates. Entering text
will narrow the items to those matching the tokens in the input
あなたが望むのはdmenuの範囲を超えていることです。おそらくあなたはターミナルエミュレータ(シェルの素晴らしいオートコンプリート機能を継承する)に似ているでしょう。
あなたできるコマンドリストに手動で追加しますsystemctl poweroff
が、正確には望まないようです。