diff --git a/share/tools/web_config/sample_prompts/nim.fish b/share/tools/web_config/sample_prompts/nim.fish index 6cf21b3b2..aa1c8daa1 100644 --- a/share/tools/web_config/sample_prompts/nim.fish +++ b/share/tools/web_config/sample_prompts/nim.fish @@ -116,7 +116,7 @@ function fish_prompt # Battery status type -q acpi - and test (acpi -a 2> /dev/null | string match -r off) + and acpi -a 2> /dev/null | string match -rq off and _nim_prompt_wrapper $retc B (acpi -b | cut -d' ' -f 4-) # New line