237304a64c0ba399af2ae7c24de794a7a7f352f6

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #2346 from zsiciarz/master

Updated cabal plugin with Cabal 1.18-1.20 commands.

Diff

 1diff --git a/plugins/cabal/cabal.plugin.zsh b/plugins/cabal/cabal.plugin.zsh
 2index cf7d2cf5e0d3b9a66694419ee4144d4e43d2d761..a9a05b01245e67dd554d0ff1af87092a7f4967bc 100644
 3--- a/plugins/cabal/cabal.plugin.zsh
 4+++ b/plugins/cabal/cabal.plugin.zsh
 5@@ -17,13 +17,16 @@ function _cabal_commands() {
 6       subcommand)
 7         subcommands=(
 8           "bench:Run the benchmark, if any (configure with UserHooks)"
 9-          "build:Make this package ready for installation"
10+          "build:Compile all targets or specific target."
11           "check:Check the package for common mistakes"
12           "clean:Clean up after a build"
13-          "copy:Copy teh files into the install locations"
14+          "copy:Copy the files into the install locations"
15           "configure:Prepare to build the package"
16+          "exec:Run a command with the cabal environment"
17           "fetch:Downloads packages for later installation"
18-          "haddock:Generate HAddock HTML documentation"
19+          "freeze:Freeze dependencies."
20+          "get:Gets a package's source code"
21+          "haddock:Generate Haddock HTML documentation"
22           "help:Help about commands"
23           "hscolour:Generate HsColour colourised code, in HTML format"
24           "info:Display detailed information about a particular package"
25@@ -31,7 +34,10 @@ function _cabal_commands() {
26           "install:Installs a list of packages"
27           "list:List packages matching a search string"
28           "register:Register this package with the compiler"
29+          "repl:Open an interpreter session for the given target"
30           "report:Upload build reports to a remote server"
31+          "run:Runs the compiled executable"
32+          "sandbox:Create/modify/delete a sandbox"
33           "sdist:Generate a source distribution file (.tar.gz)"
34           "test:Run the test suite, if any (configure with UserHooks)"
35           "unpack:Unpacks packages for user inspection"