Skip to content

CMake tab completion broken #2929

Closed Answered by djmitche
djmitche asked this question in Q&A
Aug 28, 2022 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

Well, I figured this out and the answer is kind of dumb but amusing.

I made a nice shell function to run a single test file, and I named it test.

test() {
  local t="${1}"
  ( cd test && make $t/fast && ./$t )
}

But, yeah, test is a shell builtin. So once that's in place, every use of test in a shell script -- of which there are fewer than I thought! -- will fail with some verbose error from gmake.

Replies: 3 comments 5 replies

Comment options

tbabej
Aug 29, 2022
Maintainer Sponsor

You must be logged in to vote
2 replies
@djmitche
Comment options

djmitche Aug 29, 2022
Maintainer Author

@scottkosty
Comment options

Comment options

djmitche
Sep 25, 2022
Maintainer Author

You must be logged in to vote
2 replies
@djmitche
Comment options

djmitche Sep 25, 2022
Maintainer Author

@scottkosty
Comment options

Comment options

djmitche
Jul 16, 2023
Maintainer Author

You must be logged in to vote
1 reply
@scottkosty
Comment options

Answer selected by djmitche
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants