- 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
|
Summary: A powerful interactive shell
|
||||||
Name: zsh
|
Name: zsh
|
||||||
Version: 4.3.4
|
Version: 4.3.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://zsh.sunsite.dk/
|
URL: http://zsh.sunsite.dk/
|
||||||
Group: System Environment/Shells
|
Group: System Environment/Shells
|
||||||
@ -152,6 +152,10 @@ fi
|
|||||||
%doc Doc/*.html
|
%doc Doc/*.html
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Nov 3 2007 James Antill <jantill@redhat.com> - 4.3.4-5
|
||||||
- Fix 8bit chars in prompts.
|
- Fix 8bit chars in prompts.
|
||||||
- Resolves: 375211
|
- Resolves: 375211
|
||||||
|
@ -15,6 +15,12 @@ PROMPT='[%n@%m]%~%# ' # default prompt
|
|||||||
# bindkey -e # emacs key bindings
|
# bindkey -e # emacs key bindings
|
||||||
bindkey ' ' magic-space # also do history expansion on space
|
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
|
# from bashrc, with zsh fixes
|
||||||
if [[ ! -o login ]]; then # We're not a login shell
|
if [[ ! -o login ]]; then # We're not a login shell
|
||||||
for i in /etc/profile.d/*.sh; do
|
for i in /etc/profile.d/*.sh; do
|
||||||
@ -24,3 +30,4 @@ if [[ ! -o login ]]; then # We're not a login shell
|
|||||||
done
|
done
|
||||||
unset i
|
unset i
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user