Re: [StGit PATCH] Added basic bash completion script for StGit.

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

 



I didn't see it because it is generated in the build process. :(

Yeah, sorry about that. I made it that way so it would be kept
up-to-date automatically (which works quite well, by the way).

The only downside is that it's a little harder to keep track of when the completion script changes (e.g., when you have made your own local changes). However, the method you use provides very *fast* completion (as opposed to git and hg completion, which generate their keywords on the fly and thus run relatively slowly).


HOWEVER, please see the threads (which modify the Python that generates the script):

[StGit PATCH 1/2] Modify bash completion to support help, version, and copyright.

[StGit PATCH 2/2] Make bash completion fail to bashdefault before default completion.

The former thread could be implemented by making help, version, and copyright modules like the rest of the commands, but I think this method is fine (and it makes stg help <tab> show fewer entries).

	Thanks --
	Ted


--
Ted Pavlic <ted@xxxxxxxxxxxxx>

  Please visit my ALS association page:
        http://web.alsa.org/goto/tedpavlic
  My family appreciates your support in the fight to defeat ALS.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux