Thanks to a contribution from David Muhundro, posh-git now exposes its functions through a module (.psm1). The module exposes a number of functions whose usage can be seen in the example profile.
Tab Expansion Updates
- TortoiseGit commands:
- git-svn operations:
git svn <tab>
- Stash completion for
show, apply, drop, pop, branch
- Branch completion for
- Completion of deleted files for
- For most commands, tab completion should now work if other command flags are in use. For example,
git rebase -i <tab>works as expected.
The most common complaint about posh-git is performance, which has already been addressed for the next release (available in my master branch). However, the fix requires taking a dependency on msysgit 1.7.1, which has not been officially released yet. Still, it has been working fine for me.
Beyond that, we still need to address the first two items on my list from the last release…
- Testing! I’d like to figure out a way to run some integration tests that verify a given repository state renders the expected prompt. If you have suggestions how to approach this, or know how other Git integration projects are tested, please let us know over at the Google Group.
- Documentation! How to get started, what the project provides, etc.
If you have any other feature requests or find issues, please let us know.