diff options
| author | Jonas Maier <> | 2026-03-10 16:51:07 +0100 |
|---|---|---|
| committer | Jonas Maier <> | 2026-03-10 16:51:07 +0100 |
| commit | 27ee3f07c39f3f584fac4a8712dd4fe97e46e462 (patch) | |
| tree | 7ecf8c0420bf97ad76eb025d13d3cddc00e13dda /src/main.rs | |
| parent | 8046a94bde376e018c01df4cdc3ade2c6aeaf32c (diff) | |
| download | pish-27ee3f07c39f3f584fac4a8712dd4fe97e46e462.tar.gz | |
command completion (only builtins and user-defined funs for now)
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 6012a86..5e7d40a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -357,7 +357,9 @@ fn event_loop() { ); let suggestions = match comp.kind { - parse::CompletionKind::Command => todo!(), + parse::CompletionKind::Command => { + completion::command_completion(session.clone(), comp.partial) + } parse::CompletionKind::Argument => completion::path_completion(comp.partial), parse::CompletionKind::Variable => { completion::variable_completion(session.clone(), comp.partial) |
