[TxMt] Re: mate in command line doesn't fire up textmate
Juande Santander Vela
juandesant at gmail.com
Sun Nov 27 16:36:48 UTC 2011
Try directly
/usr/local/bin/mate
If that works, it is that simply you have removed /usr/local/bin from your path.
BTW, what’s the result of
echo $PATH
?
BTW, another way of opening TextMate from the CLI it is by typing:
open -a TextMate
You can use it for opening documents:
open -a TextMate ~/.profile
The main difference between “mate” and “open -a TextMate” is that mate has the “modal” -w prefix, but I have never used it.
On nov 27, 2011, at 5:26 p.m., Anjanesh Lekshminarayanan wrote:
> Nope.
> $ mate
> -bash: mate: command not found
> ---------------------------------------------------------
> Thanks & Regards
> Anjanesh Lekshminarayanan
>
>
>
> On Sun, Nov 27, 2011 at 9:52 PM, Patric Zimmermann <Patric.Zimmermann at physik.tu-berlin.de> wrote:
> does it work when U type 'mate' in /usr/local/bin/ ???
>
>
> Am 27.11.2011 um 17:19 schrieb Anjanesh Lekshminarayanan:
>
>> go to TextMate > Help > Terminal usage… to install the CLI tools.
>> When I click on Create Link, it says, Couldnt create link. Failed with the following reason : Operation not permitted.
>>
>> anjanesh$ sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate
>> Password:
>> ln: /usr/local/bin/mate: File exists
>> anjanesh$ mate
>> -bash: mate: command not found
>>
>> ---------------------------------------------------------
>> Thanks & Regards
>> Anjanesh Lekshminarayanan
>>
>>
>>
>> On Sun, Nov 27, 2011 at 9:29 PM, Juande Santander Vela <juandesant at gmail.com> wrote:
>> Are you sure your path is being updated? .profile is not typically called during bash startup (at least in Mac OS X). Try to do:
>>
>> . ~/.profile
>>
>> in the Terminal just to be sure.
>>
>> OTOH, you do not need to add anything to your .prifle. CLI tools are not installed automatically, but through TextMate’s Help menú:
>>
>> go to TextMate > Help > Terminal usage… to install the CLI tools.
>>
>> Or you can do the equivalent action at the terminal:
>>
>> sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate
>>
>> On nov 27, 2011, at 12:01 p.m., Anjanesh Lekshminarayanan wrote:
>>
>> > Hello
>> > mate in command line doesn't fire up TextMate editor.
>> > I added export PATH=/Applications/TextMate.app/Contents/Resources/mate:$PATH to my .profile file, and restarted terminal but it still doesn't load.
>> > Is there another way ?
>> > ---------------------------------------------------------
>> > Thanks & Regards
>> > Anjanesh Lekshminarayanan
>>
>> --
>> Juande Santander Vela
>> Software Engineer, ALMA Archive Subsystem
>> Data Flow Infrastructure Department, Software Development Division
>> European Southern Observatory (Germany)
>>
>> Bertrand Russell: Aún cuando todos los expertos coincidan, muy bien podrían estar equivocados.
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
--
Juande Santander Vela
Software Engineer, ALMA Archive Subsystem
Data Flow Infrastructure Department, Software Development Division
European Southern Observatory (Germany)
Albert Einstein: Lo más bello que podemos experimentar es el lado misterioso de la vida, ese sentimiento profundo que se encuentra en la cuna del arte y de la ciencia verdadera.
More information about the textmate
mailing list