cweagans / dotfiles

My personal config files.
https://cweagans.net
14 stars 0 forks source link

Consider setting up direnv to automatically add some dirs to $PATH #19

Open cweagans opened 1 month ago

cweagans commented 1 month ago

When I cd into a PHP project (which has composer.json and a vendor/ directory), adding vendor/bin to $PATH seems reasonable. Maybe with some kind of allow list?

Can also apply to any project with .bin/ or bin/ or node_modules/.bin or similar.