3 Commits

Author SHA1 Message Date
Andrew Christianson
75d422dcec Merge ebef09bf3d into e8c8fd9b84 2024-12-11 22:14:30 -08:00
Ivan Pozdeev
ebef09bf3d Merge branch 'master' into pr 2022-10-14 17:23:37 +03:00
Andrew Christianson
a54be0cab2 set/unset CONDA_PREFIX on activate 2019-03-05 11:22:13 -08:00
5 changed files with 6 additions and 11 deletions

View File

@@ -6,9 +6,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
- ubuntu-24.04
- ubuntu-22.04 - ubuntu-22.04
- macos-15 - ubuntu-20.04
- macos-14 - macos-14
- macos-13 - macos-13
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View File

@@ -1,4 +1,4 @@
Copyright (c) 2025 Yamashita, Yuu Copyright (c) 2015 Yamashita, Yuu
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@@ -28,12 +28,6 @@ From inside that directory you can:
- Get the latest development release by running `git pull` to download the - Get the latest development release by running `git pull` to download the
latest changes. latest changes.
💡 **WSL note:** If you're using WSL, we recommend setting Git to use Unix-style line endings to prevent script execution errors:
```sh
git config --global core.autocrlf input
```
1. **Check out pyenv-virtualenv into plugin directory** 1. **Check out pyenv-virtualenv into plugin directory**
```bash ```bash
@@ -88,7 +82,7 @@ brew install --HEAD pyenv-virtualenv
``` ```
After installation, you'll still need to do After installation, you'll still need to do
[Pyenv shell setup steps](https://github.com/pyenv/pyenv#b-set-up-your-shell-environment-for-pyenv) [Pyenv shell setup steps](https://github.com/pyenv/pyenv#basic-github-checkout)
then add then add
```sh ```sh
eval "$(pyenv virtualenv-init -)" eval "$(pyenv virtualenv-init -)"

View File

@@ -214,9 +214,11 @@ if [ -d "${prefix}/conda-meta" ] ||
case "${shell}" in case "${shell}" in
fish ) fish )
echo "set -gx CONDA_DEFAULT_ENV \"${CONDA_DEFAULT_ENV}\";" echo "set -gx CONDA_DEFAULT_ENV \"${CONDA_DEFAULT_ENV}\";"
echo "set -gx CONDA_PREFIX \"${prefix}\";"
;; ;;
* ) * )
echo "export CONDA_DEFAULT_ENV=\"${CONDA_DEFAULT_ENV}\";" echo "export CONDA_DEFAULT_ENV=\"${CONDA_DEFAULT_ENV}\";"
echo "export CONDA_PREFIX=\"${prefix}\";"
;; ;;
esac esac
fi fi

View File

@@ -88,7 +88,7 @@ if [ -d "${prefix}/conda-meta" ] ||
shopt -s nullglob shopt -s nullglob
case "${shell}" in case "${shell}" in
fish ) fish )
: # conda doesn't support fish echo "set -e CONDA_PREFIX"
;; ;;
* ) * )
for script in "${prefix}/etc/conda/deactivate.d"/*.sh; do for script in "${prefix}/etc/conda/deactivate.d"/*.sh; do