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:
parent
7e0d027b21
commit
9074633a29
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user