]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
README: recipes: fix "Environment file for all project" to use :a
authorDaniel Hahler <git@thequod.de>
Thu, 2 Nov 2017 01:41:16 +0000 (02:41 +0100)
committerDaniel Hahler <git@thequod.de>
Thu, 2 Nov 2017 01:42:26 +0000 (02:42 +0100)
Ref: https://github.com/Tarrasch/zsh-autoenv/pull/73

README.md

index efe063ddd4f5e722248eea57d3242092d3b7a8c2..1913190c10f6652602fb0cf4ffa3c9108211e41b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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