Page MenuHomePhabricator

Alternative to prepending E_BIN_DIR to PATH
Closed, ResolvedPublic


I have a directory at the head of my PATH that contains alternate versions of command line utils like grep, ls, etc., but E puts /usr/bin ahead of it, overriding my tools of choice with the system defaults.

If my understanding is correct, the only way currently to have directories that E prepends to your PATH appended instead is to use -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it. I'd like to see a more sane option if there isn't one already. Alternatively, I wonder if it wouldn't be a better idea to only prepend directories to PATH if they aren't already contained within it--thereby preserving the user's desired search order.