diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-10 04:55:10 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-10 04:55:10 +0000 |
| commit | 4c1d37d7d061ed97a4eaa0714560f3228fd6ff13 (patch) | |
| tree | 50da87ff54fce615f19f48e679abd4adf79dba3c /Completion/Core | |
| parent | 11285: zftp exit hook (diff) | |
| download | zsh-4c1d37d7d061ed97a4eaa0714560f3228fd6ff13.tar zsh-4c1d37d7d061ed97a4eaa0714560f3228fd6ff13.tar.gz zsh-4c1d37d7d061ed97a4eaa0714560f3228fd6ff13.tar.bz2 zsh-4c1d37d7d061ed97a4eaa0714560f3228fd6ff13.tar.lz zsh-4c1d37d7d061ed97a4eaa0714560f3228fd6ff13.tar.xz zsh-4c1d37d7d061ed97a4eaa0714560f3228fd6ff13.tar.zst zsh-4c1d37d7d061ed97a4eaa0714560f3228fd6ff13.zip | |
11288: Reopen stdin on /dev/null to avoid confusing programs that don't
expect it to be closed.
Diffstat (limited to 'Completion/Core')
| -rw-r--r-- | Completion/Core/_main_complete | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete index aa061ec91..9882639fa 100644 --- a/Completion/Core/_main_complete +++ b/Completion/Core/_main_complete @@ -18,6 +18,7 @@ setopt localoptions nullglob rcexpandparam extendedglob unsetopt markdirs globsubst shwordsplit nounset ksharrays +exec </dev/null # ZLE closes stdin, which can cause errors local func funcs ret=1 tmp _compskip format nm \ _completers _completer _completer_num curtag _comp_force_list \ |
