Compdef for 'g' function, if it exists.