Explorar el Código

fix clock()

pull/1/head
10sr hace 11 años
padre
commit
2c8a79e4da
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. +1
    -3
      bashrc

+ 1
- 3
bashrc Ver fichero

@@ -250,12 +250,10 @@ alias setup.py="sudo python3 setup.py install --record files.txt"

clock(){
local tformat="%Y/%m/%d %H:%M:%S %z"
local t=
cal
while true
do
t="`date "+${tformat}"`"
printf "\\r$t"
printf "\\r`date "+${tformat}"`"
sleep 1
done
}


Cargando…
Cancelar
Guardar