* Jan Dittberner [2013-11-13 19:31 +0100]:
On Wed, Nov 13, 2013 at 05:30:15PM +0100, Nicolas Évrard wrote:
After switching to virtualenvwrapper_lazy instead of the 'normal'
virtualenvwrapper file in my ~/.zshrc I noticed a speed up when
opening a new terminal but as soon as I tried to use "workon env" the
terminal hang CTRL-C or Z it did not kill anything.

After having added some debugging echo in the virtualenvwrapper_lazy
script I noticed that it enters into what seems to me and infinite
recursion.

Can you provide details about your debugging efforts? I would like to
forward your report to the upstream bugtracker.

I just added an 'echo ${venvw_name}' in the eval that creates the lazy
functions there:

function virtualenvwrapper_setup_lazy_loader {
    typeset venvw_name
    for venvw_name in $(echo ${_VIRTUALENVWRAPPER_API})
    do
        eval "
function $venvw_name {
    virtualenvwrapper_load
    ${venvw_name} \"\$@\"
}
"
    done
}

--
(°> Nicolas Évrard
( ) Liège
 `¯

Attachment: signature.asc
Description: Digital signature

Reply via email to