This is the mail archive of the
mailing list for the Cygwin project.
Re: Bash shell extension ?
"Adam" <email@example.com> wrote;
> Ah-hah! This reg file works perfectly! Thanks Sam!
LOL. Glad I could help. Unfortunately there are still problems.
First off, you don't get the menu item for network shares in the Network Neighbourhood so you can't get a bash prompt in the root of a share.
Secondly, although you do get the prompt for folders within shares, the command doesn't select the correct directory because bash is reducing the '\\' at the front of the UNC path passed by Windows in the substitution for %1 to a single backslash even when enclosed in single quotes.
It might be time to think of a little utility that takes a Windows path as its first argument without converting any shell escapes in it, converts that to UNIX à la cygpath, chdirs to this and then execs its second argument with subsequent ones as the rest of the argv.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html