Make the 'a' variable local.
Make the 'a' variable local.

The 'a' variable is currently declared global. It will overwrite a
variable with the same name used in an interactive session. For example:
a=1
echo $a
will output:
%20>...>echo $a
instead of expected:
1
This is wrong. Fix it by changing variable scope to local.

jreese/zsh-titles