Fix bug in load printing (% not escaped in zsh)
Same thing than c8f01e68a3abb2018468a6bc8d2d50a8b07ad3c5
This commit is contained in:
parent
e9099d15a3
commit
c2fdb1751e
@ -759,7 +759,11 @@ __load_color()
|
|||||||
else
|
else
|
||||||
ret="${ret}${CRIT_RED}"
|
ret="${ret}${CRIT_RED}"
|
||||||
fi
|
fi
|
||||||
ret="${ret}$load%${NO_COL}"
|
if [[ "$WORKING_SHELL" == "bash" ]]; then
|
||||||
|
ret="${ret}$load%${NO_COL}"
|
||||||
|
elif [[ "$WORKING_SHELL" == "zsh" ]]; then
|
||||||
|
ret="${ret}$load%%${NO_COL}"
|
||||||
|
fi
|
||||||
echo -ne "${ret}"
|
echo -ne "${ret}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user