Browse Source

Do notify about sleeping

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

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

@@ -45,6 +45,7 @@ bb() {
45 45
     # Ring the bell
46 46
     #
47 47
     local stime=${1:-0}
48
+    test "$stime" == 0 || echo -e "sleeping for $BASHUM_COLOR_LGREEN$stime$BASHUM_COLOR_NORMAL"
48 49
     sleep "$stime"
49 50
     printf '\a'
50 51
 }