PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 7th of January, 2020

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[10:46:36] <ThiefMaster> it would be nice of the `pip install xxx==1.2.3` command shown on specific-version pages on pypi used quotes, i.e. `pip install 'xxx==1.2.3'` to make it copy-pastable even if one is using zsh
[10:47:13] <ThiefMaster> (`=foo` in zsh resolves foo in $PATH, so `pip install foo==1.2.3` fails in the shell with `zsh: 1.2.3 not found`)
[11:11:19] <tos9> ThiefMaster: That works fine for me on zsh even unquoted.
[11:11:29] <tos9> (And I have =foo enabled.)
[11:11:41] <tos9> What settings do you have set
[11:23:08] <ThiefMaster> it's the EQUALS shopt
[11:26:58] <tos9> ThiefMaster: EQUALS is what enables =
[11:27:13] <tos9> (It's on by default if you're in normal zsh mode IIRC)
[11:30:19] <tos9> Do you have e.g. `setopt MAGIC_EQUAL_SUBST`?
[12:40:33] <ThiefMaster> yes
[12:44:13] <ThiefMaster> ah when disabling that i lose the ability to use e.g. `--foo=~/bar` (and there are some CLIs that do not support `--foo ~/bar` like any sane CLI would do)
[12:58:26] <tos9> ThiefMaster: I use --foo=$PWD/bar
[12:58:33] <tos9> in those specific cases
[12:59:16] <tos9> uh, HOME, but you know what I mean