- only check python on precmd. Fixes issues with plugins like pyenv that load in PATH later to work correctly (#175)
- Fix an issue where .virtualenv dirs where created when not needed (#194 thanks @Mejituu)
- Display warning in terminal if python is not in PATH
- Add support for virtualenv directories created by python -m venv (#168 thanks @afeblot)
- Remove pwgen dependency. Thanks (#166 @hauntsaninja)
- Dont attempt to activate a Pipenv or Poetry project if they are not installed (#161 thanks @stevenxxiu)
- Fixed a bug where shell enviroments would become slow after autoswitching (#159 Thanks @yut13)
- virtualenv names are now generated with a random prefixed string. This will prevent multiple directories which share the same name from causing conflicts.
- pwgen is now a requirement for running zsh-autoswitch-virtualenv
- display if AUTOSWITCH_DEFAULT_PYTHON is used during mkvenv command
- Fix case where autoswitch would not activate correctly when starting in a directory which has a .venv set
- Fix poetry switching when multiple venvs are available (#144) (Thanks @hauntsaninja)
- Correctly determine location of poetry virtualenvs based on configuration
- Correctly determine virtualenv paths for poetry on Mac OSX
- Fix issue where poetry projects would not activate if another virtualenv is already activated (#134)
- Improve integration support for poetry and pipenv. The
mkvenv
andrmvenv
commands work as expected. - Improve detection of poetry projects by looking for "poetry.lock" rather than "pyproject.toml"
- Fix issue where poetry would incorrectly try activate in projects with pyproject.toml but no poetry setup (Issue #130) (Thanks @hauntsaninja)
- Support autoswitching of poetry projects
- Output messages to stderr instead of stdout
- Small improvement to zsh 5.0 compatibility
- Fix insecure activation of virtualenvs (#122)
- Use absolute path for
/usr/bin/stat
to prevent conflicts with otherstat
binaries. Fixes #110
- Fix detection of pipenv projects from subdirectories
- Add AUTOSWITCH_FILE configuration option
- Prevent pipenv from showing its courtesy because we activated its virtualenv
- Clean up pipenv names when displaying them
- Remove virtualenv requirement. This is now only needed for running mkvenv
- Fix bug with pipenv detection where extra messages would be incorrectly displayed
- Add zsh 5.7 to the CI testing process
- Correct project detection behaviour when working with pipenv
- Fix minor bug where variables would leak into user's environment
- Scan for requirements files recursively when setting up a virtualenv (#88 - fix by @nrc)
- Fix bug when rm was aliased to a different behaviour (#87 - fix by @rnc)
- Invoke pip install in editable (i.e. development) mode. (#91 - fix by @rnc)
- Show message when deactivating virtual environments
- local variables will no longer sneak into shell environment variables (Thanks @rnc)
- Fixes a regression in Pipenv integration
- Prompt to install requirements.txt even if setup dependencies installed
- Add option to set default python binary to use when creating virtualenvs
- Add option to set default requirements file to install when creating virtualenvs
- Display snake emoji by default when switching virtualenvs
- Minor tweaks and changes
- Detect python projects with setup.py
- Show helpful error message when target virtualenv is not found
- Remove redundancy in directory checking logic
- Display help message when python project is detected
- Improvements to coloring of output
- Add enable/disable command
- allow --verbose option with mkvenv
- allow user to specify location of virtual env directories
- Hotfix: Fix conflict with you-should-use plugin default message
- Switch messages can now be customised with the AUTOSWITCH_MESSAGE_FORMAT environment variable
- help text is now displayed when virtualenv is not installed
- Remove dependency on virtualenvwrapper. autoswitch-virtualenv now works directly with virtualenv
- Vastly improve the performance of switching environments
- Improve plugin performance when checking for virtualenvs
- Improve color output. Virtualenv name now displayed in purple
- Color python version output when switching virtualenvs
- Add support for detecting and auto activating with pipenv
- Fix bug where version was not in sync with git
- allow readable permissions for everyone and group
- Fixes to README
- export autoswitch version
- Improve help message formatting when plugin is not setup correctly
- Fix bug #19 where MYOLDPWD would get set in window titles (zprezto).
- Make help message clearer if virutalenvwrapper is not setup correctly
- Disable plugin and print help message if virtualenvwrapper not setup correctly
- Fix bug in rmvenv when no virtualenv was activated
- Fix flaky tests
- Add tests for mkvenv and check_venv
- Introduce Changelog
- Fix tests and CI process
- use printf instead of echo for better system portability
- Add ability to disable loading hooks and running initial check_venv using DISABLE_AUTOSWITCH_VENV
- Introduce restructuredtext linter to CI
- Test ZSH 5.4.2 in CI