zsh завершение имен файлов с помощью табуляции в начале строки

Из руководства bash:

The rules concerning the definition and use of aliases are somewhat confusing. Bash always reads at least one complete line of input before executing any of the commands on that line. Aliases are expanded when a command is read, not when it is executed. Therefore, an alias definition appearing on the same line as another command does not take effect until the next line of input is read. The commands following the alias definition on that line are not affected by the new alias.

Это справедливо и для ряда других оболочек.

2
12.12.2019, 22:13
1 ответ

Благодаря Барту на zsh -users@zsh.org, это работает:

В своих конфигурационных файлах:

zstyle ':completion:*' completer _files _expand _complete

За которым в какой-то момент должно следовать :

autoload -U compinit && compinit -d $ZSHBOOT/zcompdump

... " -d $ZSHBOOT/zcompdump" явно относится ко мне.

1
27.01.2020, 22:16

Теги

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