local up a var
newer versions of z setup their own precmd for ZSH