From d35ba221ee0d82926ae10bb127b90242dd0d88bc Mon Sep 17 00:00:00 2001 From: pogin Date: Mon, 9 Jun 2014 05:05:28 +0900 Subject: [PATCH] Add new cabal subcommand. I add a new cabal subcommand. subcommand: freeze, get, repl, run, sandbox, exec --- plugins/cabal/cabal.plugin.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/cabal/cabal.plugin.zsh b/plugins/cabal/cabal.plugin.zsh index 9f76add7a..4cbaf835b 100644 --- a/plugins/cabal/cabal.plugin.zsh +++ b/plugins/cabal/cabal.plugin.zsh @@ -22,7 +22,10 @@ function _cabal_commands() { "clean:Clean up after a build" "copy:Copy teh files into the install locations" "configure:Prepare to build the package" + "exec:Runs the compiled executable" "fetch:Downloads packages for later installation" + "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" @@ -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"