On Tue, Aug 17, 2021 at 7:55 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote: > > You can use this form to enable globbing in conditionals, > % [[ -d =zsh(#q:h) ]] && echo yes || echo no > yes Requires extendedglob.