Csaba Raduly sent the following at Thursday, May 06, 2010 7:59 AM >On Thu, May 6, 2010 at 1:22 PM, lood wrote: >> Hi all. How could I integrate my text editor (e.g. Notepad++) to run >> it easily from Cygwin? I mean, something similar to "notepad >> ./file.ext" - this works, I just want to use Notepad++ instead of >> standard Windows editor ("notepad++ ./file.ext" or something like >> that). Where I can add this functionality? Thanks. > >Do you want something like this? > >/cygdrive/c/Program\ Files/Notepad++/notepad++.exe ./file.ext &
Or maybe this bash shell function (in .bashrc). notepad () { cygstart -d "$(dirname "$1")" '/cygdrive/c/Program Files/Notepad++/notepad++.exe' "$(cygpath -w "$1")" } -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple