* 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:
@@ -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) )
|
||||
;;
|
||||
*) ;;
|
||||
|
Reference in New Issue
Block a user