[TxMt] Feature request: "Open Terminal here ..."

Henrik Nyh henrik at nyh.se
Thu May 3 19:09:21 UTC 2007


On 03/05/07, Graham Ashton <graham.ashton at gmail.com> wrote:
> On 03/05/07, Graham Ashton <graham.ashton at gmail.com> wrote:
> > To find that I typed Ctrl-T to search the commands available in the current
> > scope. Very handy.
>
> Correction, that's Ctrl-Cmd-T.

I've added "Open Finder here" locally:

if [[ -d $TM_SELECTED_FILE ]]; then
   TM_PATH="$TM_SELECTED_FILE"
elif [[ -f $TM_SELECTED_FILE ]]; then
   TM_PATH="`dirname "$TM_SELECTED_FILE"`"
else
   TM_PATH="`dirname "$TM_FILEPATH"`"
fi

open "$TM_PATH"



More information about the textmate mailing list