This is the mail archive of the
mailing list for the Cygwin project.
Re: [INFO] Adding "Cygwin here" to Windows Explorer
* Tero Niemela (2004-09-14 19:06 +0200)
> some of you may find this useful. I did the following,
> works perfectly for me:
> Last line of ~/.zlogin is:
> [[ "$OSTYPE" = *cygwin* && $ARGC -eq 1 ]] && cd "$@"
> And this registry settings was added to Windows
> Windows Registry Editor Version 5.00
> @="Cygwin Here"
> @="\"C:\\cygwin\\bin\\zsh.exe\" -l -s \"%1\""
> With these, when I right-click a folder on Windows
> Explorer, one available option is "Cygwin Here" that
> start Cygwin+zsh and then cd to the right-clicked directory.
Thanks. For the rxvt junkies I have improved it (made worse?):
@="&Zsh Prompt Here"
@="C:\\cygwin\\bin\\rxvt.exe -e /bin/zsh --login -i -s \"%1\""
if [[ $OSTYPE = cygwin && $ARGC = 1 ]]; then
cd $@; fi
If you have a call to "screen" which is the only thing I have in my
.zlogin) the screen call has to be the last statement.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html