Frank Terbeck wrote: [...] > you don't need null_glob at all. Thus, I'd do this: > > for i in /etc/zsh/zshrc.d/*.zsh; do
Well, since zsh's default behaviour is to error out with non-matching globs, using the qualifier is actually required: for i in /etc/zsh/zshrc.d/*.zsh(N); do > # I'm quoting the parameter, because someone might have > # set the SH_WORD_SPLIT option in, say "~/.zshenv". > if [ -r "$i" ]; then > source "$i" > fi > done > > > Regards, Frank -- In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org