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