How do I filter a glob in zsh
Basically I can use a glob in zsh to a list. Often, it turns out, I would like to filter that list, grep’ishly I’m wondering though, if I need to do that.
Basically I can use a glob in zsh to a list. Often, it turns out, I would like to filter that list, grep’ishly I’m wondering though, if I need to do that.
In bash, if I type a command beginning with a ‘#’, bash ignores it as a comment. Ie, the following is ignored at the bash prompt: > # Hi there! Whereas in zsh: > # Hi there ! zsh: bad pattern: # How can I ask zsh to do the same? This is incredibly useful … Read more
The /etc/shells says it has zsh installed in /bin/zsh, but also in /usr/bin/zsh.
A few years ago I found an interesting code snippet that prints each type of file in its corresponding color according to the colors set up in LS_COLORS. Unfortunately, I can’t remember the link anymore.