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
1 changed files with 1 additions and 1 deletions

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