0
votes
1answer
30 views

What is the complete, authoritative way in which Mac OSX 10.9 and later builds its PATH?

I have read just about every article on this subject. To wit, I know about: launchctl setenv /etc/launchd.conf /etc/paths /etc/paths.d/* /etc/profile /etc/bashrc ~/.profile ~/.bashrc ...
0
votes
1answer
37 views

I get errors when trying to install GTK+3 on my Mac OSX 10.9 system

I'm trying to install GTK+3 on my Mac OSX 10.9 system to run a pyGObject project I've been developing in Ubuntu. It runs perfectly on Ubuntu, so I wanted to test cross-platform compatibility. I'm ...
1
vote
0answers
36 views

Configure a separate root folder for Sites directory

I have re-written this entire post as I realized it originally did not make much sense (That would be a funny comment for a program). I'm developing a web project in localhost with a very organized ...
2
votes
1answer
56 views

How -exactly- do I remove a specific directory, from my PATH, in OSX, Mavericks?

Ok - so this issue has become somewhat of a white whale for me. I have browsed some of the questions here, but I cannot seem to figure out how to, very simply, delete a directory from my PATH. (I ...
1
vote
1answer
65 views

How do I use the MacPorts version of nano as my default text editor?

I tried installing nano using "port install nano", but using the "nano" command doesn't open the macports version. $ which nano /opt/local/bin/nano $ /opt/local/bin/nano --version GNU nano version ...
0
votes
1answer
36 views

Saving to a specific path with the save prompt

How do you save to specific paths with the save prompt WITHOUT navigating through the GUI? It's extremely annoying how I cannot just write paths into the save-as dialog box.
0
votes
1answer
30 views

Help on setting path right

I'm following these instructions to install CUDA on my Mac and need some help concerning path variables. I already installed the package but need to set up the required environment variables: export ...
1
vote
2answers
142 views

How to use /etc/paths.d to add executable files to my path?

I am trying to use /etc/paths.d to add an executable to my path variable but I have no success so far. The full path of the executable file is: /opt/ImageMagick/bin/convert /etc/paths.d contains two ...
1
vote
1answer
216 views

Where are my all installed programs?

I am new to Mac OS X and till the time I was using Windows 7/8. I tried to download and install programs in Mac OS X, but I do not see them in Launchpad. Where are all my programs are going. ...
5
votes
2answers
276 views

How are paths to files and folders constructed in OS X?

I need to indicate a right file path to read a .csv file into R on OS X, but how can I find where the file is stored? Looking at Excel files, the file path starts at users/…, but there is no ...
1
vote
3answers
1k views

How do I undo “export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile”

I was trying to install homebrew, which wasn't working. It told me to do echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile. However this wasn't having any affect, and I thought maybe it ...
0
votes
1answer
149 views

Making items added to paths via paths.d show up everywhere under Mavericks

I'd like to set the path under OS X Mavericks so that the setting shows up everywhere (e.g., in .apps and in Darwin shells). There's plenty of discussion out there about how to set environment ...
1
vote
1answer
92 views

Why does my path not get saved even after editing ~/.bashrc? [duplicate]

I've added maven to my path, but it doesn't seem to be persisting to the path beyond the lifetime of the terminal application. I've modified my ~/.bashrc, but it still isn't storing the modified ...
2
votes
2answers
101 views

How do I change $PATH and set it to the default directory?

For some reason when I run echo $PATHI get the following directory: /Users/<home>/Library/Applications/. How do I set it back to its default location so that I don't have to run this command, ...
4
votes
1answer
5k views

Mac OS X Mavericks - add to path

I'm trying to set up a phonegap project and while trying to add a platform it outputs the following error: Error: The command "android" failed. Make sure you have the latest Android SDK installed, ...
1
vote
2answers
109 views

Escaped path in AppleScript adds leading /

I have the following AppleScript that I am trying to debug: tell application "System Events" set theResult to (do shell script "sqlite3 ~/Library/Application\\ Support/Dock/desktoppicture.db ...
5
votes
2answers
3k views

In Mountain Lion how do I set, in one place, the PATH environment variable for all newly launched applications?

On Ask Different there are many questions regarding the PATH environment variable and how to set it for applications launched by a shell, by spotlight or via the finder (typical questions: How to set ...
2
votes
2answers
473 views

Change Web Sharing “Sites” folder to SkyDrive?

I'm building a web site. There are three Macs that I commonly use for development, depending upon my location: an iMac in San Diego, and iMac in Vegas, and a MacBook Air in all other places. As I move ...
0
votes
3answers
766 views

Can homebrew and RVM agree on a $PATH?

I'm trying to install Yeoman.io and part of it requires Homebrew to be installed. I am on Mountain Lion (10.8) and things seemed to install correctly except when I run $ homebrew doctor it complains ...
5
votes
3answers
7k views

How is my $PATH variable built in Mountain Lion?

I've recently installed Homebrew on my Mac and it's complaining that /usr/bin occurs before /usr/local/bin in my $PATH variable, meaning that system-provided programs will be used instead of those ...
11
votes
4answers
17k views

How to change PATH environment variable to OS X 10.8 Mountain Lion that will be visible to GUI applications?

I tried all methods I heard of for setting environment variables on OS X 10.8 but none of them seems to work. To test, run a bash script from inside a gui application like Eclipse or IntelliJ IDEA. ...
-1
votes
2answers
475 views

Mac Terminal PATH settings [duplicate]

Possible Duplicate: Reset your PATH variable Everytime I open Terminal I need to set the PATH using: PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Otherwise commands like ...
0
votes
0answers
206 views

Could not execute the java executable while running Play 1.2.1

I am facing this issue whenever I am trying to run Play 1.2.1 in my system. Previously, I had Play 2.0 in my system. I exported the $PATH variable so that $PATH contains the path to Play 2.0 ...
2
votes
1answer
4k views

Homebrew PATH error Mac OS X 10.6.8

So I've found this wildly helpful blog (http://blog.wyeworks.com/) and managed to muddle my way to step 5 (after leaving ridiculous comments after getting stuck on step one) $ brew install ...
20
votes
5answers
10k views

How to set PATH for Finder-launched applications

Apps launched via Finder seem to not respect the PATH as set in .bash_profile. So when I try to run code from an IDE (Intellij) I no longer have access to programs in /usr/local/bin, which is ...
5
votes
2answers
1k views

How to change path in Finder by entering the path manually?

It seems that by default there is no way to enter a whole path in the Finder, so instead one should traverse through all the tree to get somewhere deep in the filesystem. Is there anyway to overcome ...
0
votes
1answer
1k views

Change PHP $PATH setting?

How to change PHP $PATH setting? I am using MAMP 2.x, my terminal for PHP command is already set to the MAMP PHP 5.3.x, but now I want to change to PHP 5.2.x I have done this before, but i forget ...
21
votes
1answer
11k views

Open Finder window from current Terminal location?

If I am in a specific path in a Terminal window, how can I open that same window in a new Finder window? Note: This is the opposite of opening a Terminal from Finder.
7
votes
2answers
7k views

Reset your PATH variable

I stuffed up (basically wiped) my PATH variable. Is there any way to reset it to the default? I look at How do I reset the $PATH variable on Mac OS X?, but I find it very confusing. As far as I ...
7
votes
4answers
730 views

How do I change the location of screen captures on 10.5?

As a developer, I take a lot of screen captures. I often take a lot to share with StackExchange members on chat. The problem is my desktop is so cluttered with screen captures that they're now ...