Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Custom git completion

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:48:07

David Rhodes Clymer [off-list ref] wrote:
Unless I read it incorrectly, the completion script included with
git-core does not make it easy for users to write completion scripts
for custom git commands. I can extend git itself by creating a command
"git-foo", and placing it in my path.
git config --global alias.foo /home/me/bin/my-git-foo

git foo will now complete correctly.  No need to modify the
completion code.

-- 
Shawn.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help