From fd04f17e0c36d34cd079845ec83e863743a299c2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 29 Dec 2012 03:07:10 +0900 Subject: [PATCH] do not use paren in clock() --- bashrc | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/bashrc b/bashrc index e5bfa6b..f8b0c53 100755 --- a/bashrc +++ b/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(){