mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
41839: force IFS to default for "read"
This commit is contained in:
parent
b816291a17
commit
abd0040253
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
# Written by Sweth Chandramouli with hacks by Bart Schaefer.
|
||||
|
||||
listalloptions () {
|
||||
local OPT_NAME OPT_VALUE
|
||||
local OPT_NAME OPT_VALUE IFS=$' \t\n'
|
||||
builtin set -o | while read OPT_NAME OPT_VALUE ; do
|
||||
if [[ ${OPT_NAME#no} != ${OPT_NAME} ]] ; then
|
||||
OPT_VALUE=${(L)${${OPT_VALUE:s/on/OFF}:s/off/on}}
|
||||
|
|
Loading…
Reference in a new issue