Где отображается сообщение аргумента?

Если это связано с вашим предыдущим вопросом , тогда да :настройка расширенного раздела включает в себя запись расширенной загрузочной записи раздела (EPBR или иногда EBR )в самом начале расширенный раздел. В Википедии есть описание.

EPBR будет записан точно там же, где будет заголовок LUKS, так что да, это вызовет перезапись заголовка LUKS.

6
21.04.2020, 21:58
1 ответ

Необходимо установить formatzstyle завершения:

zstyle ':completion:*' format 'Completing %d'

Тогда:

$ program -b Tab
Completing my message
x  y

Подробнее см. info zsh format.

Устанавливается с помощью compinstall, если вы следуете этому пункту меню:

3.  Styles for changing the way completions are displayed and inserted.
[...]
1.  Change appearance of completion lists:  allows descriptions of
    completions to appear and sorting of different types of completions.
[...]
1.  Print a message above completion lists describing what is being
    completed.
[...]
You can set a string which is displayed on a line above the list of matches
for completions.  A `%d' in this string will be replaced by a brief
description of the type of completion.  For example, if you set the
string to `Completing %d', and type ^D to show a list of files, the line
`Completing files' will appear above that list.  Enter an empty line to
turn this feature off.  If you enter something which doesn't include `%d',
then `%d' will be appended.  Quotation will be added automatically.

description>
6
19.03.2021, 02:26

Теги

Похожие вопросы