如何在bash中启用命令行完成命令行开关? [英] How to enable tab-completion of command line switches in bash?
本文介绍了如何在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提示命令行开关
推荐答案
查看扩展的完成
这篇关于如何在bash中启用命令行完成命令行开关?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文