Merge remote-tracking branch 'lenormf/fix-doc-completion'

This commit is contained in:
Maxime Coste 2016-08-30 22:41:31 +01:00
commit 7b81131071

View File

@ -29,7 +29,7 @@ def -hidden -params 1..2 _doc-open %{
}
def -params 1..2 \
-shell-completion %{
-shell-candidates %{
find "${kak_runtime}/../doc/kak/manpages/" -type f -iname "*$@*.gz" -printf '%f\n' | while read l; do
printf %s\\n "${l%.*}"
done