mirror of
https://github.com/ChesterYue/ohmyzsh-theme-passion.git
synced 2026-07-25 14:01:03 +00:00
[U] remove useless comment
This commit is contained in:
parent
fe17f1ff06
commit
697f0e1a02
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ output_command_execute_after() {
|
||||||
local cost=$(bc -l <<<"${time_end}-${COMMAND_TIME_BEIGIN}");
|
local cost=$(bc -l <<<"${time_end}-${COMMAND_TIME_BEIGIN}");
|
||||||
COMMAND_TIME_BEIGIN="-20200325"
|
COMMAND_TIME_BEIGIN="-20200325"
|
||||||
local length_cost=${#cost};
|
local length_cost=${#cost};
|
||||||
if [ "$length_cost" = "4" ]; # 例如 .032 前面要拼一个 0
|
if [ "$length_cost" = "4" ];
|
||||||
then
|
then
|
||||||
cost="0${cost}"
|
cost="0${cost}"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue