exercism / exercism/cli

zsh completion requires sourcing and can't get autoloaded easily

オープン
#764 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
1.4k
フォーク
363
平均マージ
6日 13時間
マージ済み PR(30日)
2

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。