summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/cabal/cabal.plugin.zsh12
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/cabal/cabal.plugin.zsh b/plugins/cabal/cabal.plugin.zsh
index cf7d2cf5e..a9a05b012 100644
--- a/plugins/cabal/cabal.plugin.zsh
+++ b/plugins/cabal/cabal.plugin.zsh
@@ -17,13 +17,16 @@ function _cabal_commands() {
subcommand)
subcommands=(
"bench:Run the benchmark, if any (configure with UserHooks)"
- "build:Make this package ready for installation"
+ "build:Compile all targets or specific target."
"check:Check the package for common mistakes"
"clean:Clean up after a build"
- "copy:Copy teh files into the install locations"
+ "copy:Copy the files into the install locations"
"configure:Prepare to build the package"
+ "exec:Run a command with the cabal environment"
"fetch:Downloads packages for later installation"
- "haddock:Generate HAddock HTML documentation"
+ "freeze:Freeze dependencies."
+ "get:Gets a package's source code"
+ "haddock:Generate Haddock HTML documentation"
"help:Help about commands"
"hscolour:Generate HsColour colourised code, in HTML format"
"info:Display detailed information about a particular package"
@@ -31,7 +34,10 @@ function _cabal_commands() {
"install:Installs a list of packages"
"list:List packages matching a search string"
"register:Register this package with the compiler"
+ "repl:Open an interpreter session for the given target"
"report:Upload build reports to a remote server"
+ "run:Runs the compiled executable"
+ "sandbox:Create/modify/delete a sandbox"
"sdist:Generate a source distribution file (.tar.gz)"
"test:Run the test suite, if any (configure with UserHooks)"
"unpack:Unpacks packages for user inspection"