Do not use find -printf in doc completion implementation
This commit is contained in:
parent
85a534fb8a
commit
066d6d1120
|
@ -32,8 +32,8 @@ def -hidden -params 1..2 _doc-open %{
|
|||
|
||||
def -params 1..2 \
|
||||
-shell-candidates %{
|
||||
find "${kak_runtime}/../doc/kak/manpages/" -type f -iname "*.gz" -printf '%f\n' | while read l; do
|
||||
printf %s\\n "${l%.*}"
|
||||
find "${kak_runtime}/../doc/kak/manpages/" -type f -iname "*.gz" | while read l; do
|
||||
basename "${l%.*}"
|
||||
done
|
||||
} \
|
||||
doc -docstring %{doc <topic> [<keyword>]: open a buffer containing documentation about a given topic
|
||||
|
|
Loading…
Reference in New Issue
Block a user