Description of problem: In case a user with login shell /bin/zsh logs is, the following error occurs: /etc/profile.d/cdargs.sh:167: parse error near `&&' Version-Release number of selected component (if applicable): cdargs-1.35-2.fc9.x86_64 How reproducible: always Steps to Reproduce: 1. create a user TEST with login shell /bin/sh 2. login a user TEST Actual results: /etc/profile.d/cdargs.sh is evaluated and an error message /etc/profile.d/cdargs.sh:167: parse error near `&&' is written to the terminal. Expected results: Either /etc/profile.d/cdargs.sh is compatible with /bin/zsh and evaluated completely during the login process, or /etc/profile.d/cdargs.sh contains a block like if [ -z "${BASH_VERSION}" ] then return fi to suppress evaluation. Additional info:
Confirmed and accepted your proposed solution (return silently). The error on line 167 is trivial to fix, what is not so trivial is the completion => hence the check will be only preventing the completion code from being executed, otherwise cdargs should be working fine. If you'd write a completion extension for zsh, I'll include it of course:)
cdargs-1.35-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/cdargs-1.35-3.fc10
cdargs-1.35-3.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/cdargs-1.35-3.fc9
cdargs-1.35-3.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update cdargs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-0434
cdargs-1.35-3.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cdargs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0440
cdargs-1.35-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
cdargs-1.35-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.