Skip to content

Commit 54711e8

Browse files
nixel2007Copilot
andcommitted
Extend smart completions to 'uninstall', 'which', 'run'
All three accept an installed version alias as positional argument, so suggest installed versions via 'ovm ls -q'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent cd4e354 commit 54711e8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/cmd/Классы/КомандаCompletions.os

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@
179179
Возврат "ls -q";
180180
ИначеЕсли Имя = "install" Тогда
181181
Возврат "ls -r";
182+
ИначеЕсли Имя = "uninstall" ИЛИ Имя = "which" ИЛИ Имя = "run" Тогда
183+
Возврат "ls -q";
182184
КонецЕсли;
183185
КонецЦикла;
184186

0 commit comments

Comments
 (0)