]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - README.md
tests: cleanup test_full (#86)
[zsh-autoenv.git] / README.md
index efe063ddd4f5e722248eea57d3242092d3b7a8c2..1f2800e583fe3790c13a1b26077b809a38dffa57 100644 (file)
--- a/README.md
+++ b/README.md
@@ -119,13 +119,13 @@ event was handled?
 
 Default: `1`
 
-### AUTOENV\_DISABLED
+### AUTOENV_DISABLED
 
 (Temporarily) disable zsh-autoenv. This gets looked at in the chpwd handler.
 
 Default: 0
 
-### AUTOENV\_DEBUG
+### AUTOENV_DEBUG
 
 Set debug level. If enabled (> 0) it will print information to stderr.
 
@@ -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