about summary refs log tree commit diff
path: root/Functions/Prompts
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Prompts')
-rw-r--r--Functions/Prompts/prompt_clint_setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_clint_setup b/Functions/Prompts/prompt_clint_setup
index 92decb8f6..4f14fff8d 100644
--- a/Functions/Prompts/prompt_clint_setup
+++ b/Functions/Prompts/prompt_clint_setup
@@ -67,7 +67,7 @@ prompt_clint_apm_precmd () {
   local bat
 
   bat=${${="$(</proc/apm)"}[7]/%/%%}
-  [[ $bat == "100%" ]] && psvar[2]=() || psvar[2]=$bat
+  [[ $bat == ("100%"|"-1%") ]] && psvar[3]=() || psvar[2]=$bat
 }
 
 prompt_clint_setup "$@"