I'd love to see some mercurial toys, like the git and bzr ones I've seen .
. . maybe I'll hack something together if I find some time.

On Thu, Jun 21, 2012 at 6:16 PM, Dario Bertini <berda...@gmail.com> wrote:

> Hi, I recently started to use fishfish... I'm a bzr user (but
> obviously also an hg and git one) and I read a previous mail about it
> (I cannot reply to it since I wasn't subscribed to the list at the
> time)
>
> >From the homepage, I assumed that the completion was done by reading
> the man pages on the fly... by looking into it I found out that
> actually there's the fish_update_completions builtin function to be
> called manually
>
> if you run it though, it'll create new completions for git: the
> problem is, those completions don't work
>
> out of curiosity, to see if it was feasible to adapt the mercurial
> completions for bazaar, I found out about the make_vcs_completions in
> the fishfish sources
>
> first thing: if some programs are already known to be better served by
> some other completions (like the ones for which the completions are
> generated with such a script), shouldn't it be better if
> fish_update_completions blacklisted git, hg, svn and such programs?
>
> btw, I then tried to use make_vcs_completions to generate bzr
> completions... but I got lots of errors like:
>
> fish: path_get_path( 'bzr' )
> bzr: ERROR: No help could be found for 'bzr'. Please use 'bzr help
> topics' to obtain a list of topics.
> fish: proc::read_try('bzr $argv; ')
>
> I tried to run it with "fish -d 3" but I can't understand what is
> going wrong... I also looked at the make_vcs_completions script
> itself, by checking it step by step and adding echo statements, but I
> got lost after line 100, when it seems that it's using a more-than-70
> lines long string substitution (or at least, that unmatched single
> quote seems to be doing that)
>
> should make_vcs_completions be rewritten? (it's 2 years old)
> what is the best approach to get some nice autocompletion for bzr?
> other people interested out there?
> should some of this be reported as an issue on github?
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to