This website works better with JavaScript
Home
Explore
Help
Sign In
netvor
/
mydots
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Allow for a little nap before the bell
Alois Mahdal
6 years ago
parent
6303e17f83
commit
e3aad7106e
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
dotfiles/bash/main.bashrc
+ 2
- 0
dotfiles/bash/main.bashrc
View File
@@ -17,6 +17,8 @@ bb() {
17
17
#
18
18
# Ring the bell
19
19
#
20
+ local stime=${1:-0}
21
+ sleep "$stime"
20
22
printf '\a'
21
23
}
22
24