Skip to content

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

Silvio Rhatto requested to merge rhatto/onionspray:fix/genkey into main

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.

Merge request reports