On Tue, Mar 8, 2011 at 1:30 AM, Barry Warsaw
On Mar 04, 2011, at 12:00 PM, Toshio Kuratomi wrote:
Actually, my post was saying that these two can be decoupled. ie: It's possible to not have /usr/bin/python while still allowing users to type python at a shell prompt and get the interpreter.
This is done by either redefining the PATH to include the directory that the interpreter named "python" is in or by creating an alias for python to the proper interpreter.
I personally would prefer aliasing rather than $PATH manipulation.
Toshio's suggestion wouldn't work anyway - the "/usr/bin/env python" idiom will pick up a "python" alias no matter where it lives on $PATH. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia