Fix compdef for g function. Why doesn't compdef work in zshenv I wonder?