You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@steff456 , I don't mean to bombard you with issues on this plugin, but I have some questions about the terminal setup.
What is the intention of the terminal plugin? Is is supposed to emulate an interactive login shell?
The reason I ask is that the ENV_ROUTE for bash and zsh may need some adjustment.
For bash, I'm not aware of any circumstance in which both ~/.bashrc and ~/.bash_profile are sourced. The expected source files are:
Interactive login: first /etc/profile then the first available of ~/.bash_profile, ~/.bash_login, or ~/.profile
Interactive non-login: first /etc/bashrc then ~/.bashrc
For zsh, all files are sourced, in order, if they exist:
Additionally, do you know where environment variables are passed to new terminals? Maybe it's somewhere in terminado? For the macOS standalone application, some environment variables need to be removed, e.g. PYTHONHOME and RESOURCEPATH.
The text was updated successfully, but these errors were encountered:
The main idea behind this plugin is to have a console inside Spyder that works as close to a system terminal as possible. This is the reason why we decided to try to import all the configurations that may be modified by the user, specially to have all the conda paths available inside the terminal.
@steff456 , I don't mean to bombard you with issues on this plugin, but I have some questions about the terminal setup.
What is the intention of the terminal plugin? Is is supposed to emulate an interactive login shell?
The reason I ask is that the
ENV_ROUTE
forbash
andzsh
may need some adjustment.bash
, I'm not aware of any circumstance in which both~/.bashrc
and~/.bash_profile
are sourced. The expected source files are:/etc/profile
then the first available of~/.bash_profile
,~/.bash_login
, or~/.profile
/etc/bashrc
then~/.bashrc
zsh
, all files are sourced, in order, if they exist:/etc/zshenv
,$ZDOTDIR/.zshenv
,/etc/zprofile
,$ZDOTDIR/.zprofile
,/etc/zshrc
,$ZDOTDIR/.zshrc
,/etc/zlogin
, and$ZDOTDIR/.zlogin
/etc/zshenv
,$ZDOTDIR/.zshenv
,/etc/zshrc
,$ZDOTDIR/.zshrc
Additionally, do you know where environment variables are passed to new terminals? Maybe it's somewhere in
terminado
? For the macOS standalone application, some environment variables need to be removed, e.g.PYTHONHOME
andRESOURCEPATH
.The text was updated successfully, but these errors were encountered: