2 ms·
FYI the zsh glob for this is `^.*`, e.g.: echo ^.* will show all non-dotfiles in the current directory.
by revscat 5y ago
FYI the zsh glob for this is `^.*`, e.g.:
echo ^.*
will show all non-dotfiles in the current directory.
- inshadows 5y agoIn my Zsh echo * does not expand dotfiles. I guess there's some setopt for that.
- revscat 5y agoYou're right. Bored during meeting, go this to work: 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.