diff options
author | Johannes Altmanninger <aclopte@gmail.com> | 2020-06-25 23:41:09 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-06-25 15:43:10 -0600 |
commit | 3439edd8e6e3455c4735b91561372254a3c9fda4 (patch) | |
tree | eef15c2c8d26cb8df72f8de605f3fa7e222f2e07 /man | |
parent | 9ec2990e96031e617237ac4881288974a69b7522 (diff) |
fish-completion: force some variables to be script-local
Unfortunately, a command "set x" without explicit scope overwrites the variable
"x" in the innermost scope it is defined in, if any. This can cause problems
if the user defines the variable "x" as global or universal variable (which is
visible in all fishes). Make sure to define a local variable so we use that.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions