2 /aWorking/Zsh/Source/Wk 3 % rm -r tempThis one has a bug that triggers when there is more than one match for (#i)Temp and not all matches are directories. The following does not have this issue: [[ -n ''(#i)Temp(#qN/) ]] && echo "there is at least one (#i)Temp dir"