瀏覽代碼

Show only sub-commands starting with SATURNIN_LIBEXEC_PREFIX

This was always intended; sub-commands starting with dedicated prefix
is the mandatory convention.
Alois Mahdal 7 年之前
父節點
當前提交
4387831ec8
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/saturnin.sh.skel

+ 1
- 0
src/saturnin.sh.skel 查看文件

@@ -235,6 +235,7 @@ saturnin__lssc() {
235 235
         -mindepth 1 \
236 236
         -maxdepth 1 \
237 237
         -executable \
238
+        -name "$SATURNIN_LIBEXEC_PREFIX*" \
238 239
       | sed -e "s|^.*/||; s|^$SATURNIN_LIBEXEC_PREFIX||" \
239 240
       | sort
240 241
 }