I would like to have tab completion in bash for fossil. I committed (
https://www.fossil-scm.org/index.html/timeline?r=bash-completion) a change
that builds the completion script from the list of commands during the
mkindex step of the build. The issue with doing it this way is that it only
has the command names, not sub-commands or flags or parameters. If I want
to add all of those I see two options to do so:

1) I can come up with some clever way of embedding all of this information
into the help comment that proceeds each command. Then when the mkindex
program processes these comments it will extract the info and build the
script accordingly, similar to what is already done for the commands
themselves.
2) I can just write and maintain the file manually.

Any suggestions as to which to prefer?

-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to