elixir-lang/elixir — pull request #141 by britto (2012-03-02 20:45:58+00:00)
Title: Allow deep linking and handle CDPATH issues

This patch allows the scripts to be deep-linked anywhere. The `readlink_f` function emulates GNU `readlink -f` functionality, navigating through the link chain and returning an absolute path.

Also, the `cd` command output is nullified to avoid interference from user's `CDPATH` environment variable, which makes `cd` always print the new working directory.