eotk icon indicating copy to clipboard operation
eotk copied to clipboard

Fix: avoid auto-echoing paths on "cd" commands

Open rhatto opened this issue 1 year ago • 0 comments

Avoid the shell auto-echoing paths on "cd" commands by ensuring CDPATH is empty.

Having a non-empty CDPATH can make the shell output paths to stdout during "cd" commands, which can cause unexpected issues on EOTK like malformed configuration files.

Some users may export CDPATH on their shells as a productivity configuration, so this commit ensures such setting does not affect EOTK.

rhatto avatar May 17 '23 13:05 rhatto