Ok, this question targets Unix/Linux shells!
I want a shell globbing (aka wildcard) pattern or GLOBIGNORE list that matches all files, including hidden files, in the current directory non-recursively (maxdepth == 1). So far, I have to perform two commands or use long workarounds (see below):
ls -lad *vim*
ls -lad .*vim*
while using zsh. If I remember, it's the same for dash and bash, right?
Short workarounds:
ls -la | grep vim
find . -maxdepth 1 | grep vim
I've wondered a hundred times: isn't there a simple globbing solution to this? Why does * not match the dot character?