Skip to content

Improve shell completion for --project-directory#10879

Merged
glours merged 1 commit into
docker:mainfrom
relrelb:project_directory_completion
Aug 10, 2023
Merged

Improve shell completion for --project-directory#10879
glours merged 1 commit into
docker:mainfrom
relrelb:project_directory_completion

Conversation

@relrelb

@relrelb relrelb commented Aug 3, 2023

Copy link
Copy Markdown
Contributor

Currently docker compose --project-directory <tab> completes file names as well even though this option is invalid.
Restrict --project-directory completion to offer directory names only.

Signed-off-by: Ariel Bachar <[email protected]>
Signed-off-by: relrelb <[email protected]>
@relrelb
relrelb force-pushed the project_directory_completion branch from f3c50c8 to 8a4095b Compare August 3, 2023 20:42
@milas milas self-assigned this Aug 10, 2023
@milas
milas requested review from a team, StefanScherer, glours, laurazard, milas, ndeloof, nicksieger and ulyssessouza and removed request for a team August 10, 2023 12:59

@milas milas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR!

@glours glours left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks for the contribution

@glours
glours enabled auto-merge August 10, 2023 13:02
@glours
glours merged commit 5bbdf3d into docker:main Aug 10, 2023
@relrelb
relrelb deleted the project_directory_completion branch August 10, 2023 20:51
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.

4 participants