allow replacing variable reference to be formattable
zsh support
tests