mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-14 14:01:18 +02:00
21880: add carriage return to IFS in completion context.
This commit is contained in:
parent
20d2f66849
commit
4c213d57ac
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-10-17 Bart Schaefer <schaefer@brasslantern.com>
|
||||
|
||||
* 21880: Completion/compinit: explicitly set IFS to the usual
|
||||
default string, plus carriage return, in case the surrounding
|
||||
environment has messed with it or a file with CRLF line breaks
|
||||
needs to be parsed.
|
||||
|
||||
2005-10-17 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: Functions/Zle/define-composed-chars,
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue