Closed hwalinga closed 6 months ago
@jezdez can you look into reviewing this one?
I've encountered the same issue on RHEL7 (zsh 5.0.2). Without this fix, the terminal is flodded with gobbledygook after conda activate + <tab>
I'm going to merge this speculatively based on user input, we can always revert or find an alternative if this breaks the completion for everyone else (which I highly doubt).
Thank you @hwalinga and @coldfix
Old version of zsh cannot set initial value when declaring with local. Giving you all environment variables as a side effect. This change fixes that bug. This bug appears on zsh 5.0.2, as seen on CentOS 7, as previously reported.
Fixes #42
NB. My vim fixed some extra white space automatically. Hope you don't mind.