exercism / exercism/cli

zsh completion requires sourcing and can't get autoloaded easily

Abierto
#764 0 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
1.4k
Forks
363
Merge medio
6 d 13 h
PR fusionados (30 d)
2

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.