aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-12 16:05:59 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-12 16:05:59 -0700
commitf3560b8e626a528f2b5cc167c00d610ab9546b82 (patch)
tree665ba82b461fcd545b8d8e064eb077e5e9cf6511 /share/tools
parent18d74655925eb7afb133b1b1437b901ae816e33e (diff)
Correctly un-export an env var when it is shadowed
Prior to this fix, if you exported a variable in one scope and then unexported it in the next, it would remain exported. Example: set -gx VAR 1 function foo; set -l VAR; env; end foo Here 'VAR' would be exported to 'env' because we failed to notice that the env var is shadowed by an unexported variable. This occurred at env var computation time, not in env_set! Fixes #2132
Diffstat (limited to 'share/tools')
0 files changed, 0 insertions, 0 deletions