Results 1 to 2 of 2
Hi all, just a question regarding zsh.
In bash, I was able to list a set of packages like this:
Code:
$ yum list *package*
However, in zsh I need ...
- 07-01-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 8
Zsh + YUM
Hi all, just a question regarding zsh.
In bash, I was able to list a set of packages like this:
However, in zsh I need to escape the '*'s like this:Code:$ yum list *package*
Is there any way to set zsh to run like bash in this sense? It's a little bit annoying, and I can't find much on the web regarding it.Code:% yum list \*package\*
- 07-04-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,943
You should be able to enclose the argument in single quotes. That works for me consistently in all shells, including zsh and bash. Ie: yum list '*package*'
FWIW, this is also good in case you have some files in your local directory that would match the pattern *package* since the single quotes won't expand the wild-cards, but will pass the string directly to yum.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
