move zsh functions into functions.zsh