简体   繁体   中英

Why do I have to alias bower when I use zsh with oh-my-zsh

On bower.io there is a warning that says:

Warning

On prezto or oh-my-zsh, do not forget to alias bower='noglob bower' or bower install jquery#1.9.1

I didn't see this before and I'm already working in a project where I have to use bower install, and everything looks normal so far.

I'm pretty curious about it, why is that, should I worry?

# is used for pattern removal in zsh (see the "Standard forms: pattern removal" section) .

Either alias it with noglob or quote 'jquery#1.9.1' every time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM