Removing directories from PATH I am trying to run rkhunter, but it is giving me this output:

stack/security/rkhunter-1.4.6
➜ sudo rkhunter --check
Password:
Invalid BINDIR configuration option: Invalid directory found: ~/.dotnet/tools
Invalid BINDIR configuration option: Invalid directory found: 
Workbooks.app/Contents/SharedSupport/path-bin


How do I go into my PATH variable and remove these directories from all shell sessions? None of these directories are in my .bash_profile or .bashrc.
Check the contents of /etc/paths or /etc/paths.d/