direnv#on_stdout /on_stderr callbacks are called multi times in my env (MacVim 8.0.1420) at least. On previous build, direnv#on_stdout / on_stderr simply replaced the s:job_status.stdout / stderr arrays and they holded the last line from direnv output. This patch fixes this.
direnv#on_stdout /on_stderr
callbacks are called multi times in my env (MacVim 8.0.1420) at least. On previous build,direnv#on_stdout / on_stderr
simply replaced thes:job_status.stdout / stderr
arrays and they holded the last line fromdirenv
output. This patch fixes this.