Giter Site home page Giter Site logo

Comments (5)

romkatv avatar romkatv commented on August 16, 2024
  1. What do you type prior to pressing Tab?
  2. Which completions are you being offered when you press Tab?
  3. Which completion that you would like to see is missing from the list?
  4. What is the output of the following command?
() {
  emulate -L zsh -o xtrace -o err_return
  local comp=${_comps[mvn]}
  [[ -n $comp ]]
  autoload +X -Uz -- $comp || true
  : ${(D)functions_source[$comp]}
}

from zsh4humans.

atjshop avatar atjshop commented on August 16, 2024
  1. mvn space then tab

clean -- remove all files generated by the previous build
compile -- compile the source code of the project
test -- run tests using a suitable unit testing framework
package -- take the compiled code and package it in its distributable format, such as a JAR
integration-test -- process and deploy the package if necessary into an environment where integration tests can be run
verify -- run any checks to verify the package is valid and meets quality criteria
install -- install the package into the local repository, for use as a dependency in other projects locally
deploy -- done in an integration or release environment, copies the final package to the remote repository
site -- generates the projects site documentation
site-deploy -- deploys the generated site documentation to the specified web server

  1. something like here https://github.com/juven/maven-bash-completion

+(anon):2> local comp=_mvn
+(anon):3> [[ -n _mvn ]]
+(anon):4> autoload +X -Uz -- _mvn
+(anon):4> true
+(anon):5> : '~/.cache/zsh4humans/v5/zsh-completions/src/_mvn'

from zsh4humans.

romkatv avatar romkatv commented on August 16, 2024

+(anon):5> : '~/.cache/zsh4humans/v5/zsh-completions/src/_mvn'

This line is saying that completions for mvn come from https://github.com/zsh-users/zsh-completions/blob/master/src/_mvn. If you want them to be extended, consider filing a feature request against that project or sending a PR.

If you can find better completions for mvn somewhere on GitHub, I can modify zsh4humans to use them instead of what I linked above.

from zsh4humans.

atjshop avatar atjshop commented on August 16, 2024

Thanks. The better completions I can find is https://github.com/juven/maven-bash-completion.

from zsh4humans.

romkatv avatar romkatv commented on August 16, 2024

Have you tried it? How exactly did you load it? Can you confirm that it works better?

from zsh4humans.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.