Browse Source

Fix /usr/bin/cal version detection

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

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

603
     local cal_es
603
     local cal_es
604
     cal_v=$(command cal -V 2>/dev/null); cal_es=$?
604
     cal_v=$(command cal -V 2>/dev/null); cal_es=$?
605
     case $cal_es:$cal_v in
605
     case $cal_es:$cal_v in
606
-        0:cal\ from\ util-linux\ 2.32.1)
606
+        0:cal\ from\ util-linux\ 2.*)
607
             command cal --color=always --monday --week "$@"
607
             command cal --color=always --monday --week "$@"
608
             ;;
608
             ;;
609
         64:*)
609
         64:*)