summaryrefslogtreecommitdiff
path: root/tests/setup.sh
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2020-06-25 23:41:09 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-06-25 15:43:10 -0600
commit3439edd8e6e3455c4735b91561372254a3c9fda4 (patch)
treeeef15c2c8d26cb8df72f8de605f3fa7e222f2e07 /tests/setup.sh
parent9ec2990e96031e617237ac4881288974a69b7522 (diff)
downloadpass-3439edd8e6e3455c4735b91561372254a3c9fda4.tar.gz
pass-3439edd8e6e3455c4735b91561372254a3c9fda4.tar.bz2
pass-3439edd8e6e3455c4735b91561372254a3c9fda4.zip
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 'tests/setup.sh')
0 files changed, 0 insertions, 0 deletions