exercism / exercism/cli

zsh completion requires sourcing and can't get autoloaded easily

Aberta
#764 0 comentários 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
1.4k
Forks
363
Merge médio
6d 13h
PRs com merge (30d)
2

Descrição

The current version of the zsh completion does not support zsh autoloading.

This can be repaired by removing the wrapping function (removing first and last line basically) and naming it `_exercism`. One can simply throw it into the `$fpath` and add `autoload _exercism` to the `.zshrc`.

Then zsh would only try to load the function if one tries to complete an argument to exercism.

Can we change the zsh completion to be more autoload friendly?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.