Menu

#34 TAB completion

v0.3
open
nobody
Core (10)
6
2012-08-16
2009-07-23
No

For a CLOPS file a bash script should be generated that does completes options when hitting TAB ,

Discussion

  • Mikolas Janota

    Mikolas Janota - 2009-07-23

    Yes I believe we are talking about the same thing, bask_completion, that is. Of course they are limits to what can be done automatically (e.g., make, kill, man, etc.)

    Beside saving the hassle of writing a script, I see the following benefits: the completion script and the program are in sync (I've seen violations of this), there's less need for those getopt staff matching on prefixes of options.

     
  • Mikolas Janota

    Mikolas Janota - 2009-07-23

    P.S. When I mentioned TAB-completion during my presentation in Oxford, one of the guys in audience cried "yes!" coupled with excited gesticulations :)

     
  • Radu GRIGORE

    Radu GRIGORE - 2009-12-10

    The shell zsh has a completion mechanism that does spell checking too.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB