如何在bash中启用命令行完成命令行开关?
问题描述:
使用 bash
,我可以使用TAB完成一个命令。通常,它还应该完成命令行开关:例如。当我输入:
With bash
, I can complete a command with TAB. Normally, it should also complete the command line switches: e.g. when I typed:
java -
它应该显示我的可能性。它不是。如何启用此预览?
it should show me the possibilities. It does not. How can I enable this preview?
另请参阅惊喜! shell提示命令行开关