mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
parent
e8e91c97a6
commit
ec603790d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user