* Wed Aug 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme

- fix completion for expand-template fails when file does not exists [SME: 12986]
This commit is contained in:
2025-08-27 13:05:23 -04:00
parent bda5f18bff
commit 0163360a4f
2 changed files with 8 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ _esmith_expand-template ()
/etc/e-smith/templates-custom \
/etc/e-smith/templates.metadata \
-regex "/etc/e-smith/templates\(-custom\|.metadata\)?$cur.*" \
-printf "[ -f /%P ] && echo /%P\n" \
-printf "[[ -f /%P || -f /etc/e-smith/templates.metadata/%P ]] && echo /%P\n" \
| sh | uniq) )
;;
*) ;;