adding func
moving this to oh-my-zsh