A am using bash as a default shell.
If I execute xterm
(which is opened in XQuartz), I get the following errors:
bash: unsetenv: command not found
bash: unsetenv: command not found
bash: setenv: command not found
bash: setenv: command not found
bash: setenv: command not found
bash: setenv: command not found
bash: setenv: command not found
bash: unsetenv: command not found
It seems that a configuration file for csh is sourced.
If I execute xterm
again in the xterm
window, I get a new window without any errors.
In my home directory I have nothing with setenv
or unsetenv
In both cases (from the terminal or from xterm):
$ type xterm
xterm is /opt/local/bin/xterm
Which file is read? Why only on the first execution?