How can I associate .sh files with Cygwin?

Posted by Jerph on Stack Overflow See other posts from Stack Overflow or by Jerph
Published on 2008-09-19T20:05:31Z Indexed on 2010/05/07 17:58 UTC
Read the original article Hit count: 183

Filed under:
|
|

I'd like to run a long rsync command in Cygwin by double clicking on a .sh file in Windows. It must start in the file's containing directory (e.g. /cygdrive/c/scripts/) so that relative paths work. Anyone gotten this to work?

Note: I've just found chere, a Cygwin package that manages Windows context menus (Bash Prompt Here). It might have some clues.

© Stack Overflow or respective owner

Related posts about bash

Related posts about cygwin