Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Generic shell completion support for the 'nix' command #3587
This adds completion support for the
This is mostly shell-independent: the bash completion script just runs the
Any flag / argument can get custom completion by setting a
This completes flakerefs using the registry (e.g. 'nix<TAB>' => 'nix nixpkgs') and flake output attributes by evaluating the flake (e.g. 'dwarffs#nix<TAB>' => 'dwarffs#nixosModules').