Closed jameskim0987 closed 3 weeks ago
Hi, this answer looks relevant: https://stackoverflow.com/a/43948526
Could it be that you're using a different bash version for completing than the one you're checking the version of?
What happens when you modify the completion script to print the bash version from within it?
@adaszko Thanks for getting back. That stackoverflow link was what I was referencing before opening the issue. The bash version on the system was updated correctly but it looks like it was missing a machine restart. After a couple restarts, it looks like the issue is gone!
Closing issue.
I will add a version check to the generated script. I learned that it can be an issue on macos so thanks for reporting anyway!
Sounds good!
When trying to test the example
mygrep
on my machine which is a macOS with bash versionGNU bash, version 5.2.37(1)-release
, I'm getting the following error.Has anyone else faced a similar issue before?