FS#19411 - [perl] perlbin.sh does not work with zsh
Attached to Project:
Arch Linux
Opened by Jan Alexander Steffens (heftig) - Monday, 10 May 2010, 15:47 GMT
Last edited by Kevin Piche (kpiche) - Sunday, 16 May 2010, 03:08 GMT
Opened by Jan Alexander Steffens (heftig) - Monday, 10 May 2010, 15:47 GMT
Last edited by Kevin Piche (kpiche) - Sunday, 16 May 2010, 03:08 GMT
|
Details
Description:
/etc/profile.d/perlbin.sh does not work with zsh, as ${scriptdirs} is not split into words for the for loop by default. As a result, the paths are not added to the PATH. Also, $perlpaths will always start with a colon, so the additional colon in PATH= is unneccessary. Also, scriptdirs, currdir and perlpaths should be unset to decrease environment pollution. Additional info: perl 5.12.0-1 zsh 4.3.10-3 |
This task depends upon
Closed by Kevin Piche (kpiche)
Sunday, 16 May 2010, 03:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 5.12.0-2
Sunday, 16 May 2010, 03:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 5.12.0-2
[ "$shell" = "zsh" ] && eval "scriptdirs=(${=scriptdirs})"