mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Merge pull request #6128 from ncfavier/fix-completion
Shell completion improvements
This commit is contained in:
commit
51712bf012
8 changed files with 70 additions and 27 deletions
|
@ -135,7 +135,7 @@ struct InstallableCommand : virtual Args, SourceExprCommand
|
|||
|
||||
std::optional<FlakeRef> getFlakeRefForCompletion() override
|
||||
{
|
||||
return parseFlakeRef(_installable, absPath("."));
|
||||
return parseFlakeRefWithFragment(_installable, absPath(".")).first;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue