You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not echo "Found it" like one might expect. I guess the if statement introduces a new scope which contains the condition, so the local variable is not found. But even so, it really seems like this ought to succeed.
set -ql should probably check up to the function boundary.
This does not echo "Found it" like one might expect. I guess the
ifstatement introduces a new scope which contains the condition, so the local variable is not found. But even so, it really seems like this ought to succeed.set -qlshould probably check up to the function boundary.