Fix typo and remove trailing space

This commit is contained in:
Luc Didry 2012-08-12 10:52:03 +02:00
parent fb5860bd26
commit 2810d481aa

View File

@ -421,7 +421,7 @@ __shorten_path()
# colored in red if it have not.
__permissions_color()
{
if [[ -w "${PWD}" ]]; then
if [[ -w "${PWD}" ]]; then
echo "${GREEN}:${NO_COL}"
else
echo "${RED}:${NO_COL}"
@ -663,6 +663,7 @@ __battery_color()
elif [[ "$WORKING_SHELL" == "zsh" ]]; then
echo -ne "${ret}${bat}%%${NO_COL}"
fi
fi
}