ohmyzsh/plugins/cabal
..
cabal.plugin.zsh
README.md

Cabal

This plugin provides completion for Cabal, a build tool for Haskell. It also provides a function cabal_sandbox_info that prints whether the current working directory is in a sandbox.

To use it, add cabal to the plugins array of your zshrc file:

plugins=(... cabal)