-
Notifications
You must be signed in to change notification settings - Fork 369
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
bash completion generates "nosort" error on macOS with Bash v3 #883
Comments
this is generated (currently, I have some plans to change this) by clap_complete. I'm not sure if bash 3.x is a supported target or not, but if it is, this would need to be addressed upstream |
I have the same problem with bash 5.2.15 on macOS for rtx installed via brew
Every time I run |
@skittishdev are you certain that the bash you're running isn't v3? try |
Oops, you're right @jdx . Sorry!
|
Just ran across this today with default MacOS bash, and noticed that clap_complate merged a fix a few months ago, released in v4.4.6 |
Describe the bug
I started getting this error (warning?) when opening a new Terminal window on macOS:
I'm running Bash v3:
The error is happening during
/opt/homebrew/etc/bash_completion.d/rtx
on my system, which is this: https://github.com/jdx/rtx/blob/f333ac5f8e8de399fcb3ce40576baeef0271081b/completions/rtx.bash#L3482If I remove the
-o nosort
from that line then the error stops.This looks related? https://lists.zx2c4.com/pipermail/wireguard/2018-October/003418.html
rtx doctor
outputClick to show
The text was updated successfully, but these errors were encountered: