Skip to content

Commit

Permalink
Find conda-* executables on PATH (conda#13006)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored Aug 21, 2023
1 parent b63f152 commit 0527869
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda/cli/find_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def find_commands(include_others=True):
else:
dir_paths = []

dir_paths.extend(os.environ.get("PATH", "").split(os.pathsep))

if on_win:
pat = re.compile(r"conda-([\w\-]+)\.(exe|bat)$")
else:
Expand Down
19 changes: 19 additions & 0 deletions news/13006-non-base-plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Fix regression for supporting conda executable plugins installed into non-base environments. (#13006)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit 0527869

Please sign in to comment.