mirror of
https://github.com/NixOS/nix.git
synced 2025-12-16 05:51:05 +01:00
Add completion for paths
This commit is contained in:
parent
91ddee6bf0
commit
e0c19ee620
13 changed files with 82 additions and 15 deletions
|
|
@ -77,7 +77,8 @@ SourceExprCommand::SourceExprCommand()
|
|||
.shortName = 'f',
|
||||
.description = "evaluate FILE rather than the default",
|
||||
.labels = {"file"},
|
||||
.handler = {&file}
|
||||
.handler = {&file},
|
||||
.completer = completePath
|
||||
});
|
||||
|
||||
addFlag({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue