Pārlūkot izejas kodu

fix bug

pull/1/head
10sr pirms 12 gadiem
vecāks
revīzija
88b4f21dd8
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      bashrc

+ 2
- 1
bashrc Parādīt failu

@@ -481,7 +481,8 @@ __my_ps1_bttry(){
local bst="/tmp/${USER}-tmp/batterystatus"
if test -z "$DISPLAY" && ! iswindows
then
test -f $bst && echo "[Battery:$(cat $bst)]"
test -f $bst && local bstr="$(cat $bst)"
test -n "$bstr" && echo "[Battery:$bstr]"
__my_battery_status %s >$bst &
fi
return $last


Notiek ielāde…
Atcelt
Saglabāt