Fixed scope of ZSH's location formatter var