diff options
author | 2015-10-23 15:15:39 -0700 | |
---|---|---|
committer | 2015-10-23 15:15:39 -0700 | |
commit | d5f3a09ce932779346d521afe1ba0ffdcb1cbfa9 (patch) | |
tree | 6ba863d5eba6c7b02e505e3d7b30ec21a13f88db /share/completions | |
parent | 036a29acf5d5184a4850475a1ae2f9512058744a (diff) |
Make 'set -ql' search up to function scope
Previously 'set -ql' would only look for variables in the
immediate local scope. This was not very useful. It's also
arguably surprising, since a 'set -l' in a function, followed
by a 'set -ql' in a child block, would fail. There was also no
way to check for a function-scoped variable, since omitting the
scope would also pull in global variables.
We could revisit this and introduce an explicit function scope.
Fixes #2502
Diffstat (limited to 'share/completions')
0 files changed, 0 insertions, 0 deletions