1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-25 00:10:59 +02:00

README: recipes: fix "Environment file for all project" to use :a

Ref: https://github.com/Tarrasch/zsh-autoenv/pull/73
This commit is contained in:
Daniel Hahler 2017-11-02 02:41:16 +01:00
parent 7e0d027b21
commit 9074633a29

View File

@ -169,7 +169,7 @@ if [[ $autoenv_event == 'enter' ]]; then
setopt localoptions extendedglob
local -a venv
venv=(./(../)#.venv(NY1:A))
venv=(./(../)#.venv(NY1:a))
if [[ -n "$_ZSH_ACTIVATED_VIRTUALENV" && -n "$VIRTUAL_ENV" ]]; then
if ! (( $#venv )) || [[ "$_ZSH_ACTIVATED_VIRTUALENV" != "$venv[1]" ]]; then