How to enable tab-completion of command line switches in bash?

前端 未结 5 584
庸人自扰
庸人自扰 2021-02-04 08:39

With bash, I can complete a command with TAB. Normally, it should also complete the command line switches: e.g. when I typed:

java -
5条回答
  •  被撕碎了的回忆
    2021-02-04 09:06

    Related: Surprise! the shell suggests command line switches

    In the answers to that question there were several links to documentation. You might find what you look for there.

提交回复
热议问题