Auto-complete command line arguments

前端 未结 3 782
感动是毒
感动是毒 2020-12-04 15:49

In bash, executables such as mplayer and imagemagick\'s \"convert\" have a cool auto-complete functionality on their command line arguments. For instance, if I type

3条回答
  •  悲哀的现实
    2020-12-04 16:10

    This functionality in bash is provided by bash-completion and similar functionality is included in zsh. If you want to add support for some program not currently supported by one of these tools, you need to write your own extensions for them.

提交回复
热议问题