I've just installed pypy, and I've made a symlink from
/pypy to my pypy installation.
How can I turn this into a command, so that I can just type
instead of having to type
if you are on Snow leopard or on Lion the way to do it is as follows:
then edit the pypy file (with vim, nano or whatever) to include the path to
the restart the terminal. For instance, I installed julia (http://julialang.org/) and I added a julia file in paths.d
It depends on your shell. Check your $SHELL and $PATH variables
Symlinks should be executable by default, so you might just link your pypy to a directory already in your path. /usr/local/bin is a good choice for this sort of thing unless you have more intricate needs to separate things.