Posts

Showing posts with the label tmux

Using conda along with tmux

Using conda along with tmux I have added a conda environment to my bash_profile so that it loads on startup. However I find that if I use tmux to start a new session, the terminal behaves like the conda environment was never activated. How do i fix it? I am ok with solution on adding tmux to the bash_profile bash_profile 1 Answer 1 You can either add it to bash_profile like you noted or run tmux setenv X $X from the tmux session you need to have your variable. bash_profile tmux setenv X $X tmux By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.