|
@@ -250,12 +250,10 @@ alias setup.py="sudo python3 setup.py install --record files.txt" |
|
|
|
|
|
|
|
|
clock(){ |
|
|
clock(){ |
|
|
local tformat="%Y/%m/%d %H:%M:%S %z" |
|
|
local tformat="%Y/%m/%d %H:%M:%S %z" |
|
|
local t= |
|
|
|
|
|
cal |
|
|
cal |
|
|
while true |
|
|
while true |
|
|
do |
|
|
do |
|
|
t="`date "+${tformat}"`" |
|
|
|
|
|
printf "\\r$t" |
|
|
|
|
|
|
|
|
printf "\\r`date "+${tformat}"`" |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
done |
|
|
done |
|
|
} |
|
|
} |
|
|