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