diff --git a/rc/core/man.kak b/rc/core/man.kak index 77dd57fc..27cdf7f6 100644 --- a/rc/core/man.kak +++ b/rc/core/man.kak @@ -64,7 +64,7 @@ define-command -params ..1 \ If no argument is passed to the command, the selection will be used as page The page can be a word, or a word directly followed by a section number between parenthesis, e.g. kak(1)} \ man %{ %sh{ - subject=${@-$kak_selection} + subject=${1-$kak_selection} ## The completion suggestions display the page number, strip them if present case "${subject}" in