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

Modernize bash completion setup #840

Merged
merged 2 commits into from
Feb 21, 2015
Merged

Modernize bash completion setup #840

merged 2 commits into from
Feb 21, 2015

Conversation

scop
Copy link
Contributor

@scop scop commented Feb 15, 2015

No description provided.

endif()
install(DIRECTORY bash_completion.d/ DESTINATION ${BASH_COMPLETION_INST_DIR})
install(FILES bash_completion.d/ldc DESTINATION ${BASH_COMPLETION_COMPLETIONSDIR} RENAME ldc2)
Copy link
Member

Choose a reason for hiding this comment

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

I'd just rename the source file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would work as well, yes.

@dnadlinger
Copy link
Member

Could you just rename the source file? I'd like to keep the installation process as simple as possible. Ready to merge otherwise.

The completion is installed alongside the command anyway.
Will be provided in bash completion >= 2.2.
redstar added a commit that referenced this pull request Feb 21, 2015
Modernize bash completion setup
@redstar redstar merged commit 86b2710 into ldc-developers:master Feb 21, 2015
@dnadlinger
Copy link
Member

Thanks!

@redstar
Copy link
Member

redstar commented Feb 22, 2015

Hm. There is no package bash-completion distributed with cmake. Now all builds issue a cmake warning.
@scop Where did you get this file?

@dnadlinger
Copy link
Member

I think it is installed on the system as part of newer bash-completion packages. But yeah, I missed that the package is not looked up in quiet mode.

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.

3 participants