Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Problems setting PATH variable in Lion
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jon232" data-source="post: 1317514" data-attributes="member: 220594"><p>Hello, can anyone tell me why OS X Lion won't save my PATH when I add a new path to it? I use export PATH=$PATH:/"my_pathhere" to add the path that I want added. Upon typing echo $PATH before I close the terminal window it shows up in the path. However, once I exit the terminal window and re-open it the new path variable no longer shows up? I don't get it. I have just upgraded to Lion from Snow Leopard and did this exact same thing no longer than a week ago in Snow Leopard and had no problem. <img src="/mac_images/images/smilies/Confused.png" class="smilie" loading="lazy" alt=":Confused:" title="Confused :Confused:" data-shortname=":Confused:" /></p></blockquote><p></p>
[QUOTE="jon232, post: 1317514, member: 220594"] Hello, can anyone tell me why OS X Lion won't save my PATH when I add a new path to it? I use export PATH=$PATH:/"my_pathhere" to add the path that I want added. Upon typing echo $PATH before I close the terminal window it shows up in the path. However, once I exit the terminal window and re-open it the new path variable no longer shows up? I don't get it. I have just upgraded to Lion from Snow Leopard and did this exact same thing no longer than a week ago in Snow Leopard and had no problem. :Confused: [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Problems setting PATH variable in Lion
Top