diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-04-19 13:45:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 13:45:33 +0200 |
commit | 51712bf0127e995c94a4b598b045d52cf667dcef (patch) | |
tree | dec8970d571edf1753af01f067b90718714b48f2 /src/libcmd/command.hh | |
parent | 2016b7142ad1282981ad1505085fff0ac9c7d66c (diff) | |
parent | da7d8daa77c2cce5805947a012060b02be9e4a43 (diff) |
Merge pull request #6128 from ncfavier/fix-completion
Shell completion improvements
Diffstat (limited to 'src/libcmd/command.hh')
-rw-r--r-- | src/libcmd/command.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/command.hh b/src/libcmd/command.hh index 15bc13c6e..84bbb5292 100644 --- a/src/libcmd/command.hh +++ b/src/libcmd/command.hh @@ -135,7 +135,7 @@ struct InstallableCommand : virtual Args, SourceExprCommand std::optional<FlakeRef> getFlakeRefForCompletion() override { - return parseFlakeRef(_installable, absPath(".")); + return parseFlakeRefWithFragment(_installable, absPath(".")).first; } private: |