Syncronize working directory of console and/or beanshell with current buffer (ChangeDirectory.bsh v1.4 by Robert Schwenn)
Submitted by Monday, 6 November, 2006 - 20:46
on
This macro changes the working directory of console plugin and/or beanshell to the current buffer's parent directory. This is controlled by two properties, which have to be set manually.
The macro is intended for use with the action hooks pugin, bound to the events "BufferUpdate.LOADED" and "EditPaneUpdate.BUFFER_CHANGED". So the working directory of console is synchronized with current buffer (almost) every time.
Last Update: Now for Linux, too: Invoke cd command only, if buffer directory really has changed.
Updated on 05/06/2013 - 17:44
Downloads: 3338