Hi All,

I'm looking at adding a new completions to some git commands.

I'm referring to the /share/completions/git.fish file.

I'm not entirely clear about the usage of the
"__fish_git_needs_command" function.

Why is this needed before every invocation of "__fish_git_using_command" ?

Is it there so that when one presses 'git <tab>' the possible
completions shown are those that are invoked with
"__fish_git_needs_command" ?

Thanks,
-mandeep

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to