lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: LILYPOND_DATADIR in 2.10


From: Arjan Bos
Subject: Fwd: LILYPOND_DATADIR in 2.10
Date: Sun, 18 Mar 2007 11:39:55 +0100


On 18 mrt 2007, at 5:32, Graham Percival wrote:


Did you know that instead of editing your .profile to set environment variables for that specific bash session,

I don't understand -- modifying .profile will effect the environment for every bash session.

It will, but you will have to startup the Terminal.app in order to get the environment variables. I agree that .profile updating is simpler. But now your environment variables are set even if you start Lilypond, Emacs or jEdit from the Finder.


you can set them globally for every program by creating a environment.plist in ~/.MacOSX with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
    <key>PATH</key>
<string>/Users/arjanbos/bin:/sw/bin:/sbin:/bin:/usr/bin:/usr/ sbin:/usr/X11R6/bin:/usr/local/bin</string> </dict>
</plist>

The bash way (ie the standard unix way) looks a lot simpler. In addition, anybody familiar with unix will already know how to do it.

Cheers,
- Graham

---
They both savoured the strange warm glow of being much more ignorant than ordinary people, who were only ignorant of ordinary things.

-- Discworld scientists at work  (Terry Pratchett, Equal Rites)


---
Nature abhors dimensional abnormalities, and seals them neatly away so that they don't upset people. Nature, in fact, abhors a lot of things, including vacuums, ships called the "Marie Celeste", and the chuck keys for electric drills.

-- (Terry Pratchett, Pyramids)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]