老潘已转到http://www.panxingzhi.net/。所有旧文章如有改动,此处将不再更新。谢谢。 I've moved to http://www.panxingzhi.net/. Updates on old posts are not applied here. Thanks.

open Cygwin shell from here...

http://sylefeb.blogspot.com/2006/10/tools-adding-cygwin-to-explorer-context.html

http://sources.redhat.com/ml/cygwin/2002-05/msg01645.html

Very helpful time saver!

I used the method in the the latter post and choose "C:\\WINDOWS\\System32\\cmd.exe /c C:\\cygwin\\cygwin.bat %1" as the registry value. Plus, the addictional code in .bash_profile should be:

if [ "$BASHHERE" != "" ]; then
    cd $( echo "$BASHHERE" | tr "\134" /)
fi





0 条评论:

添加评论