[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Command arguments autocompletion



I noticed that in a shell I can use tab-complete even on command
arguments, as in:

  $ aptitude sa<TAB>

will expand to

  $ aptitude safe-upgrade

How does this work?  Where does bash look for possible completion
candidates?  Has it always been like this or is this a recently new
feature (I could swear that this didn't work in the past)?

Thanks!


Reply to: