-
Notifications
You must be signed in to change notification settings - Fork 164
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
base: master
Are you sure you want to change the base?
Conversation
This goes beyond the scope of this project imho. We can take the completion of the maven plugin only if you change the PR. |
Alright, so I just skip the docker-compose part? And fix the conflict... |
bash_completion.bash
Outdated
@@ -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" |
There was a problem hiding this comment.
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..
bash_completion.bash
Outdated
@@ -202,7 +210,24 @@ _mvn() | |||
|
|||
local IFS=$'|\n' | |||
|
|||
if [[ ${cur} == -D* ]] ; then | |||
if [[ ${words[1]} == zet:* ]] ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove all that
bash_completion.bash
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove that change
bash_completion.bash
Outdated
@@ -46,6 +46,13 @@ __ltrim_colon_completions() | |||
fi | |||
} | |||
|
|||
__docker_compose_services() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove that change
Might be worth just creating a new PR if you dont want to muck around with rebasing.. |
@mosabua like that? |
No description provided.