]> git.pld-linux.org Git - packages/zsh.git/commitdiff
added PS1 setting in zshrc; process /etc/profile at login
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Dec 2000 18:22:03 +0000 (18:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    zsh.spec -> 1.24

zsh.spec

index 2e1e3431b70712625881b69da7d11a67560960ff..37c13af297e6489893974654dac1d543c6d2cf48 100644 (file)
--- a/zsh.spec
+++ b/zsh.spec
@@ -1,4 +1,4 @@
-# $Revision: 1.23 $ $Date: 2000-12-05 17:38:51 $
+# $Revision: 1.24 $ $Date: 2000-12-05 18:22:03 $
 Summary:       Enhanced bourne shell
 Summary(de):   Enhanced Bourne Shell
 Summary(fr):   Bourne shell amélioré
@@ -80,11 +80,14 @@ install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir}}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install Src/zsh.static $RPM_BUILD_ROOT%{_bindir}
-install Doc/zsh.info* $RPM_BUILD_ROOT%{_infodir}
-
-touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zprofile,zshrc,zlogin,zshenv}
+install Src/zsh.static $RPM_BUILD_ROOT%{_bindir}
+install Doc/zsh.info*  $RPM_BUILD_ROOT%{_infodir}
 
+touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zlogin,zshenv}
+echo    ". /etc/profile"                > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
+echo -e "PS1='[%n@%m %~]%(!.#.%\$)'\nbindkey -e >/dev/null 2>&1" > \
+                                          $RPM_BUILD_ROOT%{_sysconfdir}/zshrc
+                                       
 rm -f Etc/Makefile*
 gzip -9nf Etc/* README ChangeLog META-FAQ
 
This page took 0.03079 seconds and 4 git commands to generate.