conda.el icon indicating copy to clipboard operation
conda.el copied to clipboard

conda-env-activate-for-buffer sets PATH to "", causing "ls" "git" "bash" to fail

Open guicho271828 opened this issue 1 year ago • 9 comments

After activating a conda env, emacs starts failing to resolve external program, such as git or ls, in exchange to giving me the ability to M-. into the libraries in the environment.

Before activating the environment: Result of M-: (getenv "PATH") Screenshot from 2023-04-06 16-56-12

After: Result of M-: (getenv "PATH") Screenshot from 2023-04-06 16-56-31

Magit fails Screenshot from 2023-04-06 16-57-44

Dired fails Screenshot from 2023-04-06 17-02-52

Can't run anything from shell-mode buffer Screenshot from 2023-04-06 16-59-46

I worried about my config-vars but this does not show anything suspicious Screenshot from 2023-04-06 17-06-45

guicho271828 avatar Apr 06 '23 21:04 guicho271828