mirror of
https://github.com/NixOS/nix.git
synced 2025-12-16 05:51:05 +01:00
When completing flakerefs, only return directories
This commit is contained in:
parent
259ff74bde
commit
27d34ef770
3 changed files with 15 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ Strings SourceExprCommand::getDefaultFlakeAttrPathPrefixes()
|
|||
|
||||
void SourceExprCommand::completeInstallable(std::string_view prefix)
|
||||
{
|
||||
completePath(0, prefix);
|
||||
completeDir(0, prefix);
|
||||
|
||||
if (file) return; // FIXME
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue