-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
jujutsu: Remove superfluous shell completion #5037
Conversation
I've tested this locally by overriding the Jujutsu program like so: programs.jujutsu.enableZshIntegration = false;
programs.zsh.initExtra = ''
source <(${pkgs.jujutsu}/bin/jj util completion zsh)
compdef _jj ${pkgs.jujutsu}/bin/jj
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds like the resolution was to remove this completion from Home-Manager. Would such a pull request be welcome? |
Completion is installed by the jujutsu package itself, making this additional setup redundant. nix-community#5016 nix-community#5037 (review) nix-community#5016 (comment)
I've pushed another commit to remove the shell completion entirely. |
Completion is installed by the jujutsu package itself, making this additional setup redundant. nix-community#5016 (comment) nix-community#5037 (review)
Completion is installed by the jujutsu package itself, making this additional setup redundant. nix-community#5016 (comment) nix-community#5037 (review)
Thanks! Merged to master now 🙂 |
This issue has come up before, and the recommendation was to remove the shell completion logic from Home Manager. This pull request now does just that.
jj util completion
martinvonz/jj#2945Description
Checklist
Change is backwards compatible.
Code formatted with
./format
.Code tested through
nix-shell --pure tests -A run.all
ornix develop --ignore-environment .#all
using Flakes.Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
Maintainer CC
@shikanime