We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For aliases, the bash completion is broken. It only completes one element and it's always completed to the first argument in the alias.
gp = ["git", "push"]
source <(COMPLETE=bash jj)
jj gp
<Tab>
Completion behaves the same as if I had typed jj git push, i.e. it would add -- to my prompt.
jj git push
--
The completion adds push to my prompt. It even replaces partial input with push, i.e. jj gp --he + <Tab> becomes jj gp push.
push
jj gp --he
jj gp push
The text was updated successfully, but these errors were encountered:
Perhaps, it is the problem of _CLAP_COMPLETE_INDEX. Alias completion works only on fish right now.
_CLAP_COMPLETE_INDEX
jj/cli/src/cli_util.rs
Lines 3390 to 3402 in 646bdab
Sorry, something went wrong.
No branches or pull requests
Description
For aliases, the bash completion is broken. It only completes one element and it's always completed to the first argument in the alias.
Steps to Reproduce the Problem
gp = ["git", "push"]
source <(COMPLETE=bash jj)
jj gp
and then hit<Tab>
Expected Behavior
Completion behaves the same as if I had typed
jj git push
, i.e. it would add--
to my prompt.Actual Behavior
The completion adds
push
to my prompt. It even replaces partial input withpush
, i.e.jj gp --he
+<Tab>
becomesjj gp push
.Specifications
The text was updated successfully, but these errors were encountered: