diff options
| author | Wayne Davison <wayned@users.sourceforge.net> | 2005-08-11 16:25:10 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@users.sourceforge.net> | 2005-08-11 16:25:10 +0000 |
| commit | 5aa648a5f2a73bf050635e2b548b0f4c8679e957 (patch) | |
| tree | 2108a803c8efcddc69d0c1cb93f08ae149a74d2b /Completion/Unix/Command/_java | |
| parent | 21598: fix typo that broke svn ci completion and avoid problem if LC_ALL set (diff) | |
| download | zsh-5aa648a5f2a73bf050635e2b548b0f4c8679e957.tar zsh-5aa648a5f2a73bf050635e2b548b0f4c8679e957.tar.gz zsh-5aa648a5f2a73bf050635e2b548b0f4c8679e957.tar.bz2 zsh-5aa648a5f2a73bf050635e2b548b0f4c8679e957.tar.lz zsh-5aa648a5f2a73bf050635e2b548b0f4c8679e957.tar.xz zsh-5aa648a5f2a73bf050635e2b548b0f4c8679e957.tar.zst zsh-5aa648a5f2a73bf050635e2b548b0f4c8679e957.zip | |
Third time's a charm: a better fix than using either a subshell or
"setopt localoptions" is to use a function for the final test (since
it destroys all the variables in the environment). This allows us to
directly test that the environment was properly restored after the
function call, and ensures that the caller (ZTST_execchunk, which
directly exec'ed the test code) still has all the vars that it expects
in the environment (such as ZTST_verbose, options, and ZTST_mainopts).
Diffstat (limited to 'Completion/Unix/Command/_java')
0 files changed, 0 insertions, 0 deletions
