This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
fix clock()
pull/1/head
10sr
12 years ago
parent
fd04f17e0c
commit
2c8a79e4da
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
bashrc
+ 1
- 3
bashrc
View File
@@ -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
}
Write
Preview
Loading…
Cancel
Save