Consider carapace to support completions in other shells#99
Merged
water-sucks merged 8 commits intonix-community:mainfrom Aug 5, 2025
Merged
Consider carapace to support completions in other shells#99water-sucks merged 8 commits intonix-community:mainfrom
water-sucks merged 8 commits intonix-community:mainfrom
Conversation
Contributor
Author
|
Sorry I'm new to this but I'm assuming it's failing because of the new nixos-cli on main [!?] via 🐹 v1.24.5 via ❄️ impure (nixos-shell-env)
➜ nix build .#nixos
warning: Git tree '/home/j/nixos-cli' is dirty
error: hash mismatch in fixed-output derivation '/nix/store/1gll0ysvna2g7q3sksvfbism22006dg6-nixos-cli-0.13.0-dev-go-modules.drv':
specified: sha256-Y4nB2WltjRF1anaDbMoylSg/f2hLhXHIt6xVhoPdL28=
got: sha256-di/aLNAC08ciCi/9VWt3gHh9P0mDHTOBt1mt5yMoLx0=
error: 1 dependencies of derivation '/nix/store/k37lqj4r5in8mzqkscd39pjni0hjfji1-nixos-cli-0.13.0-dev.drv' failed to build |
water-sucks
requested changes
Aug 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
carapace is a completion generator for cobra.
This adds support for more shells including nushell with a relatively simple addition:
carapace.Gen(cmd.Root())and seems to be enough for full completion support including flags.