- Fix login shell detection.
- Resolves: 244684
This commit is contained in:
parent
68edd3c18e
commit
2fc798cf87
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: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://zsh.sunsite.dk/
|
URL: http://zsh.sunsite.dk/
|
||||||
Group: System Environment/Shells
|
Group: System Environment/Shells
|
||||||
@ -150,6 +150,10 @@ fi
|
|||||||
%doc Doc/*.html
|
%doc Doc/*.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 11 2007 James Antill <jantill@redhat.com> - 4.3.4-4
|
||||||
|
- Fix login shell detection.
|
||||||
|
- Resolves: 244684
|
||||||
|
|
||||||
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 4.3.4-3
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 4.3.4-3
|
||||||
- BuildRequire gawk.
|
- BuildRequire gawk.
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ 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
|
||||||
|
|
||||||
# from bashrc
|
# from bashrc, with zsh fixes
|
||||||
if [ "x$SHLVL" != "x1" ]; 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
|
||||||
if [ -r "$i" ]; then
|
if [ -r "$i" ]; then
|
||||||
. $i
|
. $i
|
||||||
|
Loading…
Reference in New Issue
Block a user