diff --git a/rc/core/doc.kak b/rc/core/doc.kak index d093339c..88c0013f 100644 --- a/rc/core/doc.kak +++ b/rc/core/doc.kak @@ -30,7 +30,7 @@ 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 + find "${kak_runtime}/../doc/kak/manpages/" -type f -iname "*.gz" -printf '%f\n' | while read l; do printf %s\\n "${l%.*}" done } \