<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/getopt/small/completion_generator.cpp, branch CLI_2.32.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.32.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.32.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2026-05-12T14:47:32Z</updated>
<entry>
<title>make zsh completion works with first Tab</title>
<updated>2026-05-12T14:47:32Z</updated>
<author>
<name>ilikepugs</name>
<email>ilikepugs@yandex-team.com</email>
</author>
<published>2026-05-12T13:52:34Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6ea40e24c5763afe5f4abc6fcabf2cd700799cc2'/>
<id>urn:sha1:6ea40e24c5763afe5f4abc6fcabf2cd700799cc2</id>
<content type='text'>
### Как сейчас

1. zsh подгружает `~/.zfunc/_&lt;command&gt;`, выполняет его как тело функции `_&lt;command&gt;`.

2. Это тело состоит только из определения `_&lt;command&gt;() { ... }` и helper'ов — оно переопределяет `_&lt;command&gt;`, но не вызывает новое определение.

3. Тело завершилось, ни одного `compadd` не было — completion ничего не выдал.

При втором TAB вызывается уже переопределённый "настоящий" `_&lt;command&gt;` — и тогда дополнение работает.

\--

### Что сделал

Добавил вызов `_&lt;command&gt;` в конец скрипта, так что теперь вызов переопределнного `_&lt;command&gt;` происходит на первом `Tab`.
commit_hash:9f60240a3c3d85088101570156c8bde18bf0792a
</content>
</entry>
<entry>
<title>Y_VERIFY-&gt;Y_ABORT_UNLESS at ^l</title>
<updated>2023-10-09T20:57:14Z</updated>
<author>
<name>ilnurkh</name>
<email>ilnurkh@yandex-team.com</email>
</author>
<published>2023-10-09T20:39:40Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e601ca03f859335d57ecff2e5aa6af234b6052ed'/>
<id>urn:sha1:e601ca03f859335d57ecff2e5aa6af234b6052ed</id>
<content type='text'>
https://clubs.at.yandex-team.ru/arcadia/29404
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;tldr@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:18Z</updated>
<author>
<name>tldr</name>
<email>tldr@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=42d219fbd63ee173b0cb7db1b26a3ec615f0bb71'/>
<id>urn:sha1:42d219fbd63ee173b0cb7db1b26a3ec615f0bb71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;tldr@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:18Z</updated>
<author>
<name>tldr</name>
<email>tldr@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=fb217752f4b5a81abe9df05e38c5a71d080fc2a8'/>
<id>urn:sha1:fb217752f4b5a81abe9df05e38c5a71d080fc2a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;amatanhead@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:04Z</updated>
<author>
<name>amatanhead</name>
<email>amatanhead@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:04Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b6f3a80f7c2c8b7dbb0c01b056fdc1fd8cd820e9'/>
<id>urn:sha1:b6f3a80f7c2c8b7dbb0c01b056fdc1fd8cd820e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;amatanhead@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:04Z</updated>
<author>
<name>amatanhead</name>
<email>amatanhead@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:04Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8879605a63ac17539be5b3bd41b529791f4d4b02'/>
<id>urn:sha1:8879605a63ac17539be5b3bd41b529791f4d4b02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;ivanselin@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:48:40Z</updated>
<author>
<name>ivanselin</name>
<email>ivanselin@yandex-team.ru</email>
</author>
<published>2022-02-10T13:48:40Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e84d04727ac10dd27e5dc3d72039544902f81288'/>
<id>urn:sha1:e84d04727ac10dd27e5dc3d72039544902f81288</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;ivanselin@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:48:40Z</updated>
<author>
<name>ivanselin</name>
<email>ivanselin@yandex-team.ru</email>
</author>
<published>2022-02-10T13:48:40Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=496663edd3beee611468aedd4bb9ac100c1a118d'/>
<id>urn:sha1:496663edd3beee611468aedd4bb9ac100c1a118d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;eeight@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:46:19Z</updated>
<author>
<name>eeight</name>
<email>eeight@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bd085aee9b4f7a0bee302ce687964ffb7098f986'/>
<id>urn:sha1:bd085aee9b4f7a0bee302ce687964ffb7098f986</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;eeight@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:46:18Z</updated>
<author>
<name>eeight</name>
<email>eeight@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=475c0a46f28166e83fd263badc7546377cddcabe'/>
<id>urn:sha1:475c0a46f28166e83fd263badc7546377cddcabe</id>
<content type='text'>
</content>
</entry>
</feed>
