1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 02:11:15 +02:00

nix: Implement basic bash completion

This commit is contained in:
Eelco Dolstra 2020-05-10 20:32:21 +02:00
parent 14a3a62bfc
commit 91ddee6bf0
9 changed files with 95 additions and 4 deletions

View file

@ -256,4 +256,8 @@ typedef std::vector<std::pair<std::string, std::string>> Table2;
void printTable(std::ostream & out, const Table2 & table);
extern std::shared_ptr<std::set<std::string>> completions;
std::optional<std::string> needsCompletion(std::string_view s);
}