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
|
||||
ret="${ret}${CRIT_RED}"
|
||||
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}"
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user