Has anybody gotten the Terminal command (ctrl-shift-T) to work with a cygwin 
shell, like mintty?

The problem is changing into the current directory.  This is as close as I've 
gotten:

cmd \C c:\cygwin\bin\mintty.exe /bin/bash --login -i -c "cd `cygpath -u %cd%`; 
bash"

But the %cd% expansion is either expanded incorrectly or quoted incorrectly.  
It would be nice if there was a variable that thg would use to launch the 
terminal, then the command would "simply" be something like:

c:\cygwin\bin\mintty.exe /bin/bash --login -i -c "cd `cygpath -u $PWD`; bash"

You wouldn't think this would be that complicated :)

~Chris


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to