Re: [textadept] Path on OS X

From: mitchell <c....at.caladbolg.net>
Date: Wed, 24 Aug 2011 14:38:37 -0400 (Eastern Daylight Time)

Robert,

On Tue, 23 Aug 2011, Robert wrote:

> Hi,
>
> on OS X a special file is needed to have a PATH environment variable
> to find stuff like /usr/local/bin/lua (if you don't want to hardcode
> everything in your language modules).
> I'd suggest to include something like the following in the OS X
> section of 2_Installation.md:
> [snip]

Thanks. I will add this.

mitchell

>
> By default GUI apps on OS X do not pick up environment variables like
> PATH from your shell profile. Thus, Textadept does not find programs
> which are for example installed in `/usr/local/bin` when using the run
> or compile commands. Environment variables for GUI apps can be set
> using an [environment.plist](http://developer.apple.com/library/mac/#qa/qa1067/_index.html)
> file in the directory `~/.MacOSX`. If it does not exist you can create
> the directory and then run the following command in the terminal to
> add your current path to it:
> echo -e "{\n\tPATH = \"$PATH\";\n}" > ~/.MacOSX/environment.plist
> Alternatively or if it already exists you can edit it using the
> Property List Editor (Xcode 3) or by directly opening it with Xcode
> (Xcode 4). After editing the file you need to log out and back in to
> see the changes.
>
> Robert
>
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
>
>

mitchell
Received on Wed 24 Aug 2011 - 14:38:37 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:20:27 EST