3 ms·
You can get something similar with shell globs, and ~not in zsh. e.g. *~*.c(.) to exclude all .c files (and only list files, not directories or anything else).
by arp242 2y ago
You can get something similar with shell globs, and ~not in zsh. e.g. *~*.c(.) to exclude all .c files (and only list files, not directories or anything else).
Looks a bit obscure at a glance due to lack of spaces, but it's not that different from -exclude or "| grep -v".