Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
237304a6
Commit
237304a6
authored
Feb 22, 2015
by
Robby Russell
Browse files
Merge pull request #2346 from zsiciarz/master
Updated cabal plugin with Cabal 1.18-1.20 commands.
parents
27285436
1274a5e3
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/cabal/cabal.plugin.zsh
View file @
237304a6
...
@@ -17,13 +17,16 @@ function _cabal_commands() {
...
@@ -17,13 +17,16 @@ function _cabal_commands() {
subcommand
)
subcommand
)
subcommands
=(
subcommands
=(
"bench:Run the benchmark, if any (configure with UserHooks)"
"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"
"check:Check the package for common mistakes"
"clean:Clean up after a build"
"clean:Clean up after a build"
"copy:Copy t
e
h files into the install locations"
"copy:Copy th
e
files into the install locations"
"configure:Prepare to build the package"
"configure:Prepare to build the package"
"exec:Run a command with the cabal environment"
"fetch:Downloads packages for later installation"
"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"
"help:Help about commands"
"hscolour:Generate HsColour colourised code, in HTML format"
"hscolour:Generate HsColour colourised code, in HTML format"
"info:Display detailed information about a particular package"
"info:Display detailed information about a particular package"
...
@@ -31,7 +34,10 @@ function _cabal_commands() {
...
@@ -31,7 +34,10 @@ function _cabal_commands() {
"install:Installs a list of packages"
"install:Installs a list of packages"
"list:List packages matching a search string"
"list:List packages matching a search string"
"register:Register this package with the compiler"
"register:Register this package with the compiler"
"repl:Open an interpreter session for the given target"
"report:Upload build reports to a remote server"
"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)"
"sdist:Generate a source distribution file (.tar.gz)"
"test:Run the test suite, if any (configure with UserHooks)"
"test:Run the test suite, if any (configure with UserHooks)"
"unpack:Unpacks packages for user inspection"
"unpack:Unpacks packages for user inspection"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment