In my Zsh
echo *
does not expand dotfiles. I guess there's some setopt for that. echo *
does not expand dotfiles. I guess there's some setopt for that. echo (*)#.*
This prints all dot files and regular files in the current directory. You do need to have `setopt EXTENDED_GLOB` somewhere in your zsh config.