Tab completion for Mercurial in PowerShell

30 views
Skip to first unread message

Martin Geisler

unread,
Jan 18, 2012, 4:25:40 AM1/18/12
to jer...@jeremyskinner.co.uk, Mercurial Users
Hi Jeremy,

I searched for integration between Mercurial and PowerShell and I found
your Posh-Hg project on CodePlex:

http://poshhg.codeplex.com/

We already distribute Bash and Zsh tab completion scripts in Mercurial.
I think it would be great if we could distribute your tab completion
script too. What do you think?

(I've Cc'ed to the Mercurial mailinglist since I guess there are people
there who haven't yet thought of getting tab completion in PowerShell.
Please keep the list in Cc in your replies.)

--
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/
_______________________________________________
Mercurial mailing list
Merc...@selenic.com
http://selenic.com/mailman/listinfo/mercurial

Jeremy Skinner

unread,
Jan 18, 2012, 4:42:00 AM1/18/12
to Martin Geisler, Mercurial Users
Hi Martin

Sure - I'm more than happy for you to distribute posh-hg with
mercurial if you think that's a good idea.

Thanks

Jeremy Skinner
Sent from my iPhone

Chris Sutton

unread,
Jan 26, 2012, 12:21:15 AM1/26/12
to Martin Geisler, jer...@jeremyskinner.co.uk, Mercurial Users

On Wed, Jan 18, 2012 at 3:25 AM, Martin Geisler <m...@aragost.com> wrote:
Hi Jeremy,

I searched for integration between Mercurial and PowerShell and I found
your Posh-Hg project on CodePlex:

 http://poshhg.codeplex.com/

We already distribute Bash and Zsh tab completion scripts in Mercurial.
I think it would be great if we could distribute your tab completion
script too. What do you think?

(I've Cc'ed to the Mercurial mailinglist since I guess there are people
there who haven't yet thought of getting tab completion in PowerShell.
Please keep the list in Cc in your replies.)

This is a good idea. I've used posh-hg for quite awhile and it works well.

Martin Geisler

unread,
Jan 26, 2012, 3:10:43 AM1/26/12
to Chris Sutton, Sune Foldager, Henrik Stuart, jer...@jeremyskinner.co.uk, Mercurial Users
Chris Sutton <bdsu...@gmail.com> writes:

> On Wed, Jan 18, 2012 at 3:25 AM, Martin Geisler <m...@aragost.com> wrote:
>
>> Hi Jeremy,
>>
>> I searched for integration between Mercurial and PowerShell and I found
>> your Posh-Hg project on CodePlex:
>>
>> http://poshhg.codeplex.com/
>>
>> We already distribute Bash and Zsh tab completion scripts in Mercurial.
>> I think it would be great if we could distribute your tab completion
>> script too. What do you think?
>>
>> (I've Cc'ed to the Mercurial mailinglist since I guess there are people
>> there who haven't yet thought of getting tab completion in PowerShell.
>> Please keep the list in Cc in your replies.)
>>
>
> This is a good idea. I've used posh-hg for quite awhile and it works well.

Cool! I'm a Linux user myself so I don't really know anything about
PowerShell. Henrik and Sune told me on IRC that we should bundle most of
the files in posh-hg for it to be useful.

I'm not sure it's nice or good to swallow a bigger project like that. I
had hoped we could just include a single "powershell_completion" file
like we do for bash and zsh.

Maybe it's enough to put a pointer in a file somewhere? There is the
contrib/win32/ReadMe.html file and I'm not even sure when it's shown. If
the Windows installer shows it after installation, then perhaps we could
put a link in that.

Thoughts?

--
Martin Geisler

aragost Trifork
Professional Mercurial support

http://www.aragost.com/mercurial/customer-projects/

Chris Sutton

unread,
Jan 31, 2012, 3:40:21 PM1/31/12
to Martin Geisler, jer...@jeremyskinner.co.uk, Henrik Stuart, Sune Foldager, Mercurial Users
On Thu, Jan 26, 2012 at 2:10 AM, Martin Geisler <m...@aragost.com> wrote:
Chris Sutton <bdsu...@gmail.com> writes:

> On Wed, Jan 18, 2012 at 3:25 AM, Martin Geisler <m...@aragost.com> wrote:
>
>> Hi Jeremy,
>>
>> I searched for integration between Mercurial and PowerShell and I found
>> your Posh-Hg project on CodePlex:
>>
>>  http://poshhg.codeplex.com/
>>
>> We already distribute Bash and Zsh tab completion scripts in Mercurial.
>> I think it would be great if we could distribute your tab completion
>> script too. What do you think?
>>
>> (I've Cc'ed to the Mercurial mailinglist since I guess there are people
>> there who haven't yet thought of getting tab completion in PowerShell.
>> Please keep the list in Cc in your replies.)
>>
>
> This is a good idea. I've used posh-hg for quite awhile and it works well.

Cool! I'm a Linux user myself so I don't really know anything about
PowerShell. Henrik and Sune told me on IRC that we should bundle most of
the files in posh-hg for it to be useful.

Jeremy could help decide which posh-hg files would make the most sense.
 

I'm not sure it's nice or good to swallow a bigger project like that. I
had hoped we could just include a single "powershell_completion" file
like we do for bash and zsh.

Maybe it's enough to put a pointer in a file somewhere? There is the
contrib/win32/ReadMe.html file and I'm not even sure when it's shown.
 
A readme could also point the user to http://psget.net/. psget gives a simple way to load powershell modules (posh-hg included).
 
If
the Windows installer shows it after installation, then perhaps we could
put a link in that.

It would be great if the windows installer included this, but I think even more windows users would benefit if it were included in TortoiseHg.
Reply all
Reply to author
Forward
0 new messages