3 ms·
> If you put too many directories with common names into CDPATH and export it, it might break your scripts. It will also break your shell history. I’m probabl
by philsnow 3y ago
> If you put too many directories with common names into CDPATH and export it, it might break your scripts.
It will also break your shell history.
I’m probably in the minority but I’m wary of tools like this (asdf’s .tool-versions and similar things like rbenv/pyenv, and especially direnv) that change behavior based on the state of your shell’s working directory.
I like being able to ^R to a shell command from a month ago and just run it without worrying whence I’m running it.
I do like that you can directly use shims from asdf/pyenv/etc.