Battery printing bug in zsh part (special character not escaped)
This commit is contained in:
parent
c3ba849ced
commit
c8f01e68a3
@ -654,7 +654,10 @@ __battery_color()
|
|||||||
ret="${ret}${CRIT_RED}"
|
ret="${ret}${CRIT_RED}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$WORKING_SHELL" == "bash" ]]; then
|
||||||
echo -ne "${ret}${bat}%${NO_COL}"
|
echo -ne "${ret}${bat}%${NO_COL}"
|
||||||
|
elif [[ "$WORKING_SHELL" == "zsh" ]]; then
|
||||||
|
echo -ne "${ret}${bat}%%${NO_COL}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user