d3acea3965ebe13d6ed9885984ba8f5cc8ab4936

Author
Zbigniew Siciarz <antyqjon@gmail.com>
Committer
Zbigniew Siciarz <antyqjon@gmail.com>
Date

Message

Updated cabal plugin with Cabal 1.18 commands.

Diff

 1diff --git a/plugins/cabal/cabal.plugin.zsh b/plugins/cabal/cabal.plugin.zsh
 2index 9f76add7a30a791add54a4b5af864b4d18172262..acd7f82874a2fc3a1f88dd7c55229c200b81dd4b 100644
 3--- a/plugins/cabal/cabal.plugin.zsh
 4+++ b/plugins/cabal/cabal.plugin.zsh
 5@@ -23,6 +23,7 @@ function _cabal_commands() {
 6           "copy:Copy teh files into the install locations"
 7           "configure:Prepare to build the package"
 8           "fetch:Downloads packages for later installation"
 9+          "get:Gets a package's source code"
10           "haddock:Generate HAddock HTML documentation"
11           "help:Help about commands"
12           "hscolour:Generate HsColour colourised code, in HTML format"
13@@ -31,7 +32,10 @@ function _cabal_commands() {
14           "install:Installs a list of packages"
15           "list:List packages matching a search string"
16           "register:Register this package with the compiler"
17+          "repl:Open an interpreter session for the given target"
18           "report:Upload build reports to a remote server"
19+          "run:Runs the compiled executable"
20+          "sandbox:Create/modify/delete a sandbox"
21           "sdist:Generate a source distribution file (.tar.gz)"
22           "test:Run the test suite, if any (configure with UserHooks)"
23           "unpack:Unpacks packages for user inspection"