Windows `.bat` files can be executable

This commit is contained in:
Laurent Rineau 2017-02-01 17:23:40 +01:00
parent 821d4af5e2
commit c22aebe938
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
setopt extendedglob nullglob
files=(((^build*)/)#(#i)*.^(py|sh|run|sh|csh|pl|perl|bin|out)(.x))
files=(((^build*)/)#(#i)*.^(py|sh|run|sh|csh|pl|perl|bin|out|bat)(.x))
#ls -1 ((^build*)/)#(#i)*.^(py|sh|run|sh|csh|pl|perl|bin|out)(.x) 2>/dev/null || exit 0
if [ ${#files[@]} -gt 0 ]; then
ls -1 "${(@)files}"