Hi, On Thu, Feb 23, 2023 at 3:18 AM Daniel Kahn Gillmor <[email protected]> wrote: > > On Fri 2021-01-29 12:47:53 +0800, Shengjing Zhu wrote: > > > It doesn't support global completion files yet. Author just says he will > > consider this after 0.15. > > Hi there! elvish is now several versions past 0.15. any ideas where to > put tab completion files so that elvish can pick them up automatically? >
There is indeed something new landed in recent versions. https://elv.sh/ref/command.html#module-search-directories It now supports searching global modules in /usr/share/elvish/lib. However as the directory name shows, it's not meant for autocompletion scripts. After discussion with upstream, I think it's better to keep the status quo. We can see if a more sensible place that upstream will use in next debian release cycle. -- Shengjing Zhu

