Maybe I have messed up my $PATH - and I didn't know that I did...
Thinking about getting more Shell Scripting - Skills and writing a bash profile I yesterday executed this Terminal command echo $PATH to get my default Path....
The $PATH is where the terminal looks for executables, and having an extra directory or two isn't very likely to cause major problems. Although – under extreme circumstances it could cause problems.
Apparently you already have a bash profile – .profile – .bashrc – or something similar.
Open your home directory in the Finder.
Press ⌘⇧.
This will reveal the invisible items in the directory.
Run this in the Terminal:
find ~ -name ".*" -maxdepth 1
It will display the invisible items in your home directory as well.
You can then eyeball or use the Find in the Terminal to look for strings like:
.bash_profile
.bash_login
.profile
Once you've found your customization file, you can edit it appropriately.
Save a backup copy of the original, before you start messing with it though.
I know that there is a default File .... But I am just at the beginning writing and editing a .profile or .bashrc ....
what can I do at this POV ?
How can I get rid of the rest from the BibTex Suite?
Edit:
this is what my .bash_profile is currently containing....
# Setting PATH for Python 3.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"
export PATH
While /etc/paths.d/ is a standard way to add things to the $PATH there are a lot of apps that do not use it. See man path_helper for more info on it.
Newer versions of macOS use zsh as the default login shell, so you should look for changes not only in ~/.bash_profile, ~/.profile and ~/.bash_login but also ~/.zprofile, ~/.zshenv and ~/.zshrc
If you are still stuck, check /etc/profile and /etc/bashrc as well as /etc/zprofile, /etc/zshenv and /etc/zshrc just to make sure that some over-eager developer didn't decide to modify those directly (which they should not, but potentially could, so…).