diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-10-27 10:12:23 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-10-27 10:12:23 +0200 |
commit | 1dba1120410280699c6a97a5252bab24681b46b8 (patch) | |
tree | ab1174a00693f7f49d5e3dbb97252493208eaaf1 /plugins/ssh-agent | |
parent | 4b3a5c54117fa8af12878d1b659c14214cb4bbec (diff) | |
download | zsh-1dba1120410280699c6a97a5252bab24681b46b8.tar.gz zsh-1dba1120410280699c6a97a5252bab24681b46b8.tar.bz2 zsh-1dba1120410280699c6a97a5252bab24681b46b8.zip |
fix(changelog): fix for `${(@ps:$sep:)var}` construct in zsh < 5.0.8
In recent zsh versions, `${(@ps:$sep:)var}` where $sep is a variable containing
a separator string and $var is a string with multiple values separated by $sep,
the `p` flag makes zsh correctly expand $sep before splitting $var. In versions
older than 5.0.8, this doesn't happen, so we use `eval` to get the same effect.
Diffstat (limited to 'plugins/ssh-agent')
0 files changed, 0 insertions, 0 deletions