From 3518d4f6ada2db844c1e1b79a57137b0037b0d51 Mon Sep 17 00:00:00 2001 From: Gleb Smirnov Date: Sun, 7 Dec 2025 11:44:47 +0300 Subject: [PATCH] fix: treat `run0` and `please` as a prefix in `__fish_man_page` Closes #12145 --- share/functions/__fish_man_page.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_man_page.fish b/share/functions/__fish_man_page.fish index 6a83270db..17608c1b7 100644 --- a/share/functions/__fish_man_page.fish +++ b/share/functions/__fish_man_page.fish @@ -11,7 +11,7 @@ function __fish_man_page # Skip leading commands and display the manpage of following command while set -q args[2] - and string match -qr -- '^(and|begin|builtin|caffeinate|command|doas|entr|env|exec|if|mosh|nice|not|or|pipenv|prime-run|setsid|sudo|systemd-nspawn|time|watch|while|xargs|.*=.*)$' $args[1] + and string match -qr -- '^(and|begin|builtin|caffeinate|command|doas|entr|env|exec|if|mosh|nice|not|or|pipenv|please|prime-run|run0|setsid|sudo|systemd-nspawn|time|watch|while|xargs|.*=.*)$' $args[1] set -e args[1] end