New comment by abenson on void-packages repository https://github.com/void-linux/void-packages/pull/34335#issuecomment-983999004 Comment: Your snippet works fine in `zsh` if you fix it. Note the echo `$i` doesn't match the `for f`. `$i` isn't set to anything there. try: `for f in /etc/wpa_supplicant/wpa_supplicant-*.conf /etc/wpa_supplicant-*.conf; do echo $f; done`