Browse Source

do not use paren in clock()

pull/1/head
10sr 12 years ago
parent
commit
fd04f17e0c
1 changed files with 9 additions and 11 deletions
  1. +9
    -11
      bashrc

+ 9
- 11
bashrc View File

@@ -249,17 +249,15 @@ fi
alias setup.py="sudo python3 setup.py install --record files.txt" alias setup.py="sudo python3 setup.py install --record files.txt"


clock(){ 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(){ man(){


Loading…
Cancel
Save