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
enter to exit in clk
pull/1/head
10sr
11 years ago
parent
89a55cecfa
commit
f634dc3590
1 changed files
with
5 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-2
bashrc
+ 5
- 2
bashrc
View File
@@ -282,10 +282,13 @@ ssh(){
clk(){
local tformat="%Y/%m/%d %H:%M:%S %z"
cal
while true
REPLY=
printf "\\r`date "+${tformat}"`"
read -t 1
while test $? -ne 0
do
printf "\\r`date "+${tformat}"`"
sleep 1
read -t
1
done
}
Write
Preview
Loading…
Cancel
Save