Compatibility fix for ZSH + TMUX

When curl downloads the data from yahoo, the variable content is empty even if we
specify the value in export section. Moved it to global variables to
make it look consistent and work correctly.