- Tweak /etc/zshrc to source /etc/profile.d/*.sh in ksh compat. mode
- Resolves: rhbz#430665
This commit is contained in:
parent
3e4841cabd
commit
85380af649
6
zsh.spec
6
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 <james@fedoraproject.org> - 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 <jantill@redhat.com> - 4.3.4-5
|
||||
- Fix 8bit chars in prompts.
|
||||
- Resolves: 375211
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user