How to call Cygwin on the same directory of npp file focused?
-
Hello npp users,
I want to call cygwin (by Menu - Run - Run … ) so that the current cygwin directory would be the same as the npp file focused.
Any Idea?
-
here an example for cmd:
cmd /K cd $(CURRENT_DIRECTORY)
Should be easy to convert to cygwin. -
@Ekopalypse indeed a good example
c:\cygwin\bin\mintty.exe --dir "$(CURRENT_DIRECTORY)" -i /Cygwin-Terminal.ico -
tks a lot!