Browse Source

Allow for a little nap before the bell

Alois Mahdal 6 years ago
parent
commit
e3aad7106e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      dotfiles/bash/main.bashrc

+ 2
- 0
dotfiles/bash/main.bashrc View File

17
     #
17
     #
18
     # Ring the bell
18
     # Ring the bell
19
     #
19
     #
20
+    local stime=${1:-0}
21
+    sleep "$stime"
20
     printf '\a'
22
     printf '\a'
21
 }
23
 }
22
 
24