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

jj help <tab> not suggest commands #4931

Open
istudyatuni opened this issue Nov 20, 2024 · 1 comment
Open

jj help <tab> not suggest commands #4931

istudyatuni opened this issue Nov 20, 2024 · 1 comment

Comments

@istudyatuni
Copy link

istudyatuni commented Nov 20, 2024

Description

In jj 0.23 this doesn't work in bash/fish/zsh, in jj 0.22 this worked in bash

0.23: zsh/fish not work, bash:

$ jj help <tab>
-k                     --ignore-immutable     --no-pager
-R                     --at-op                --config-toml
-h                     --at-operation         --help
--keyword              --debug                [COMMAND]...
--repository           --color
--ignore-working-copy  --quiet

I guess [COMMAND]... is shown because of #4518

0.18, 0.20, 0.21, 0.22: zsh/fish not work, bash:

$ jj help <tab>
abandon      debug        fix          operation    show         untrack
backout      describe     git          parallelize  sparse       version
bookmark     diff         init         prev         split        workspace
branch       diffedit     interdiff    rebase       squash       help
cat          duplicate    log          resolve      status
checkout     edit         merge        restore      tag
chmod        evolog       move         revert       util
commit       file         new          root         undo
config       files        next         run          unsquash

0.19: zsh not work, fish/bash work

Steps to Reproduce the Problem

  1. jj help <tab>
  • 0.22 tested with nix shell 'nixpkgs/4aa36568#jujutsu'
  • 0.21 tested with nix shell 'nixpkgs/1925c603f#jujutsu'
  • 0.20 tested with nix shell 'nixpkgs/e9bf9df5e#jujutsu'
  • 0.19 tested with nix shell 'nixpkgs/05bbf6753#jujutsu'
  • 0.18 tested with nix build on v0.18.0 tag

Expected Behavior

Commands completed

Actual Behavior

Default shell completion is used (folders and files)

Specifications

  • Platform: NixOS
  • Version: 0.23
@martinvonz
Copy link
Owner

Thanks for the report. Maybe we'll have to solve it with the kind of "dynamic" completions we have been been working on lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants