Просмотр исходного кода

do not use paren in clock()

pull/1/head
10sr 11 лет назад
Родитель
Сommit
fd04f17e0c
1 измененных файлов: 9 добавлений и 11 удалений
  1. +9
    -11
      bashrc

+ 9
- 11
bashrc Просмотреть файл

@@ -249,17 +249,15 @@ fi
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"
sleep 1
done
)
local tformat="%Y/%m/%d %H:%M:%S %z"
local t=
cal
while true
do
t="`date "+${tformat}"`"
printf "\\r$t"
sleep 1
done
}

man(){


Загрузка…
Отмена
Сохранить