Sfoglia il codice sorgente

Allow for a little nap before the bell

Alois Mahdal 7 anni fa
parent
commit
e3aad7106e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      dotfiles/bash/main.bashrc

+ 2
- 0
dotfiles/bash/main.bashrc Vedi 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