This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use privileged mode, which discards CDPATH
While not recommended [1], `CDPATH` might be exported and would be used for e.g. `cd test` instead of using `./test`. E.g. Vim will make use of it (and therefore it needs to be exported, if you do not want to configure it twice). Fixes #104. This supersedes #119: there is no need to unset/change CDPATH globally. 1: https://bosker.wordpress.com/2012/02/12/bash-scripters-beware-of-the-cdpath/
- Loading branch information