瀏覽代碼

Include PERL files

Samuel W. Flint 8 年之前
父節點
當前提交
def92fbd65
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      ledger-util

+ 8 - 2
ledger-util

@@ -6,9 +6,15 @@ if [[ $# -eq 0 ]] ; then
 fi
 
 function list-utilities () {
-    for utility in ~/.ledger/utilities/*.sh ;
+    for utility in ~/.ledger/utilities/*.(sh|pl) ;
     do
-        echo " - $(basename -- ${utility} .sh)"
+        case $utility in
+            *.sh)
+                echo " - $(basename -- ${utility} .sh)"
+                ;;
+            *.pl)
+                echo " - $(basename -- ${utility} .pl)"
+        esac
     done
 }