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

Daryl Spitzer daryl.spitzer at gmail.com
Thu May 3 19:24:16 UTC 2007


> I've added "Open Finder here" locally:
> ...

I've been using:

open "$TM_DIRECTORY"

--
Daryl


On 5/3/07, Henrik Nyh <henrik at nyh.se> wrote:
> 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"
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>



More information about the textmate mailing list