trentm / go-tool

Automatically exported from code.google.com/p/go-tool
Other
10 stars 8 forks source link

"go <name>" is broken on PowerShell #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This happens on Windows 7's PowerShell[1]:

[pypm] C:\Users\sridharr\as\pypm>go tmp
[pypm] C:\Users\sridharr\as\pypm>go ...
[pypm] C:\Users\sridharr\as\pypm>go ..
[pypm] C:\Users\sridharr\as\pypm>go .
[pypm] C:\Users\sridharr\as\pypm>

As you can see, nothing happens (i.e., directory is not changed) when you 
use go in PowerShell.

I should be able to help with this, if you want.

***
[1] http://en.wikipedia.org/wiki/Windows_PowerShell

Original issue reported on code.google.com by Sridhar....@gmail.com on 19 Nov 2009 at 6:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here's a rhetorical question: how much paint was huffed before the Powershell 
spec was 
green lit for production?

Original comment by thegreat...@gmail.com on 10 Dec 2009 at 11:48

GoogleCodeExporter commented 9 years ago
I experienced the same problem - so I fixed it.  

The attached patch adds support for a Powershell driver.  I've also attached a 
full archive with the patch pre-applied, for those who don't have GNU patch 
installed.

I've updated the included README.txt with instructions on adding the Powershell 
wrapper.  Short version: set the SHELL environment variable to "powershell" and 
run "python -m go" again.

Original comment by pag...@skepticats.com on 21 Jan 2011 at 11:20

Attachments:

GoogleCodeExporter commented 9 years ago
Following up on own post, while I was at it I implemented a couple of the 
feature requests in this tracker.  I put the cumulative patch on my website at:
http://linlog.skepticats.com/entries/2011/01/Command-line_shortcuts.php

Original comment by pag...@skepticats.com on 22 Jan 2011 at 2:11

GoogleCodeExporter commented 9 years ago
Thanks for the fix.

Original comment by src...@gmail.com on 7 Jan 2013 at 5:30