Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding completion for https://github.com/swissquote/carnotzet #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthyx
Copy link

@matthyx matthyx commented Oct 27, 2017

No description provided.

@mosabua
Copy link
Collaborator

mosabua commented Apr 21, 2020

This goes beyond the scope of this project imho. We can take the completion of the maven plugin only if you change the PR.

@matthyx
Copy link
Author

matthyx commented Apr 21, 2020

Alright, so I just skip the docker-compose part? And fix the conflict...

@@ -185,6 +192,7 @@ _mvn()
local plugin_goals_spring_boot="spring-boot:run|spring-boot:repackage"
local plugin_goals_jgitflow="jgitflow:feature-start|jgitflow:feature-finish|jgitflow:release-start|jgitflow:release-finish|jgitflow:hotfix-start|jgitflow:hotfix-finish|jgitflow:build-number"
local plugin_goals_wildfly="wildfly:add-resource|wildfly:deploy|wildfly:deploy-only|wildfly:deploy-artifact|wildfly:redeploy|wildfly:redeploy-only|wildfly:undeploy|wildfly:undeploy-artifact|wildfly:run|wildfly:start|wildfly:shutdown|wildfly:execute-commands"
local plugin_goals_zet="addrs|clean|crawl|help|logs|ps|pull|restart|run|shell|start|stop|welcome"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just have this specific line but add the right prefix..

@@ -202,7 +210,24 @@ _mvn()

local IFS=$'|\n'

if [[ ${cur} == -D* ]] ; then
if [[ ${words[1]} == zet:* ]] ; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove all that

@@ -118,7 +125,7 @@ _mvn()
COMPREPLY=()
POM_HIERARCHY=()
__pom_hierarchy
_get_comp_words_by_ref -n : cur prev
_get_comp_words_by_ref -n := cur prev words
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove that change

@@ -46,6 +46,13 @@ __ltrim_colon_completions()
fi
}

__docker_compose_services()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove that change

@mosabua
Copy link
Collaborator

mosabua commented Apr 21, 2020

Might be worth just creating a new PR if you dont want to muck around with rebasing..

@matthyx
Copy link
Author

matthyx commented Apr 21, 2020

@mosabua like that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants