summary refs log tree commit diff
path: root/Completion/compinit
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2005-10-17 14:56:16 +0000
committerBart Schaefer <barts@users.sourceforge.net>2005-10-17 14:56:16 +0000
commit4c213d57ac42b51e41fcbbb4a50968c12ea05d8a (patch)
treefea18a882f9485ccca9f202b45bce05e6d3f2bbe /Completion/compinit
parent20d2f66849691c30040d4c3b2584aa77d66d2049 (diff)
downloadzsh-4c213d57ac42b51e41fcbbb4a50968c12ea05d8a.tar.gz
zsh-4c213d57ac42b51e41fcbbb4a50968c12ea05d8a.tar.xz
zsh-4c213d57ac42b51e41fcbbb4a50968c12ea05d8a.zip
21880: add carriage return to IFS in completion context.
Diffstat (limited to 'Completion/compinit')
-rw-r--r--Completion/compinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/compinit b/Completion/compinit
index 76792fd0a..74a512fc3 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -156,6 +156,7 @@ _comp_options=(
 # and don't get confused by user's ZERR trap handlers.
 
 _comp_setup='setopt localoptions localtraps ${_comp_options[@]};
+             local IFS=$'\'\ \\t\\r\\n\\0\''
              exec </dev/null;
              trap - ZERR'