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

Fix argcompletion shell code generation #476

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

thomas-riccardi
Copy link
Contributor

@thomas-riccardi thomas-riccardi commented Jan 25, 2021

Regression introduced by c37cd68,
which bumped argcompletion, which included an undocumented breaking
change (kislyuk/argcomplete#246) that lead to
generating d m a k e instead of dmake in the final bash script,
breaking the completion (and maybe other things).

How to fix the installation on your machine

(run from a directory containing a dmake project to avoid Current directory is not a Git repository error):

rm  "${DMAKE_CONFIG_DIR:-$HOME/.dmake}/completion.bash.inc"  
dmake completion > "${DMAKE_CONFIG_DIR:-$HOME/.dmake}/completion.bash.inc" 
source "${DMAKE_CONFIG_DIR:-$HOME/.dmake}/completion.bash.inc" 

(see dmake completion --help for other shells than bash)

Regression introduced by c37cd68,
which bumped argcompletion, which included an undocumented breaking
change (kislyuk/argcomplete#246) that lead to
generating `d m a k e` instead of `dmake` in the final bash script,
breaking the completion (and maybe other things).
@sonarcloud
Copy link

sonarcloud bot commented Jan 25, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thomas-riccardi thomas-riccardi merged commit 805c9c6 into master Jan 25, 2021
@thomas-riccardi thomas-riccardi deleted the dev-fix-shellcode-completion branch January 25, 2021 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants