Hi! I noticed this emerge message: If you need support, post the output of 'emerge --info =media-gfx/gimp-2.8.0_rc1' And clicking dragging and copying/pasting to console writes this: emerge --info =media-gfx/gimp-2.8.0_rc1 However, for some reason zsh (but not bash) has some problem with the equal sign (=) and it needs to be quoted as emerge --info '=media-gfx/gimp-2.8.0_rc1' Or of course double quotes would be just as good: emerge --info "=media-gfx/gimp-2.8.0_rc1" Otherwise it says: zsh: media-gfx/gimp-2.8.0_rc1 not found Same applies to emerge -pqv message right below I don't know if this is a result of a messing with zsh options (I tend to do this), but it wouldn't hurt to quote package names anyway if there is a special character like "=". Thank you!
I think this can be fixed with a certain zsh option (I can't recall which), but in my personal opinion, if you choose to use zsh, you should know about this and not have to be told (or it should be put in the Gentoo ZSH Guide). I personally believe that the bash users (probably the majority) shouldn't be told to type an extra 2 characters to run a command if they don't have to.
FYI, you are running into '=' expansion. I find it annoying too. :) http://zsh.sourceforge.net/Doc/Release/Expansion.html#g_t_0060_003d_0027-expansion
(In reply to comment #1) > I think this can be fixed with a certain zsh option (I can't recall which), > but in my personal opinion, if you choose to use zsh, you should know about > this and not have to be told (or it should be put in the Gentoo ZSH Guide). > I personally believe that the bash users (probably the majority) shouldn't > be told to type an extra 2 characters to run a command if they don't have to. I don't think that portage should be more friendly to bash than zsh, and I don't quite like the idea of "I am the majority, comply with me", but it's just two characters, a few milliseconds to type. After all most would just copy paste. My $0.02
Portage could print quotes only for zsh users :) . >>> import os, pwd >>> pwd.getpwuid(os.getuid()).pw_shell '/bin/bash' >>>
And if you use a backslash instead of quotes, it's only one character more...
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=721b4b7d8a9f6cca32d946dd416d221cbc3088b2
This is in 2.2.0_alpha102.
This is fixed in 2.1.10.58.