diff --git a/zsh.spec b/zsh.spec index 17cce10..7bd6226 100644 --- a/zsh.spec +++ b/zsh.spec @@ -3,7 +3,7 @@ Summary: A powerful interactive shell Name: zsh Version: 4.3.4 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD URL: http://zsh.sunsite.dk/ Group: System Environment/Shells @@ -152,6 +152,10 @@ fi %doc Doc/*.html %changelog +* Thu Jan 31 2008 James Antill - 4.3.4-6 +- Tweak /etc/zshrc to source /etc/profile.d/*.sh in ksh compat. mode +- Resolves: rhbz#430665 + * Mon Nov 3 2007 James Antill - 4.3.4-5 - Fix 8bit chars in prompts. - Resolves: 375211 diff --git a/zshrc.rhs b/zshrc.rhs index fb282b3..8619a39 100644 --- a/zshrc.rhs +++ b/zshrc.rhs @@ -15,6 +15,12 @@ PROMPT='[%n@%m]%~%# ' # default prompt # bindkey -e # emacs key bindings bindkey ' ' magic-space # also do history expansion on space +{ + # Make the *.sh things happier, and have possible ~/.zshenv options like + # NOMATCH ignored. + emulate -L ksh + + # from bashrc, with zsh fixes if [[ ! -o login ]]; then # We're not a login shell for i in /etc/profile.d/*.sh; do @@ -24,3 +30,4 @@ if [[ ! -o login ]]; then # We're not a login shell done unset i fi +}