From 373df787102c1fbe808e0737f886775b3d4d2f71 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 15:21:01 +0000 Subject: auto-import changelog data from zsh-4.0.7-1.1.src.rpm Fri Jun 20 2003 Jens Petersen - 4.0.7-1 - update to 4.0.7 bugfix release Wed Jun 04 2003 Elliot Lee - rebuilt Thu May 01 2003 Jens Petersen - 4.0.6-7 - don't set stty erase in a dumb terminal with tput kbs in /etc/zshrc (#89856) [reported by Ben Liblit] - make default prompt more informative, like bash --- diff --git a/.cvsignore b/.cvsignore index ea43aec..51f6bd7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -zsh-4.0.6.tar.bz2 +zsh-4.0.7.tar.bz2 diff --git a/sources b/sources index 23c5861..7ec4a87 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ec841e1c92a44879c503ffb32a3e5326 zsh-4.0.6.tar.bz2 +93a3a47b2419182408d5b31acd26528a zsh-4.0.7.tar.bz2 diff --git a/zsh.spec b/zsh.spec index 408eace..bca5cf8 100644 --- a/zsh.spec +++ b/zsh.spec @@ -2,8 +2,8 @@ Summary: A shell similar to ksh, but with improvements. Name: zsh -Version: 4.0.6 -Release: 5 +Version: 4.0.7 +Release: 1.1 License: BSD URL: http://www.zsh.org/ Group: System Environment/Shells @@ -116,6 +116,17 @@ fi %config(noreplace) %{_sysconfdir}/* %changelog +* Fri Jun 20 2003 Jens Petersen - 4.0.7-1 +- update to 4.0.7 bugfix release + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Thu May 1 2003 Jens Petersen - 4.0.6-7 +- don't set stty erase in a dumb terminal with tput kbs in /etc/zshrc (#89856) + [reported by Ben Liblit] +- make default prompt more informative, like bash + * Mon Feb 10 2003 Jens Petersen - 4.0.6-5 - skip completion tests on s390 and s390x since they hang diff --git a/zshrc.rhs b/zshrc.rhs index 6bd299d..1508b89 100644 --- a/zshrc.rhs +++ b/zshrc.rhs @@ -8,7 +8,7 @@ setenv() { export $1=$2 } # csh compatibility # Set prompts -PROMPT='%m%# ' # default prompt +PROMPT='[%n@%m]%~%# ' # default prompt #RPROMPT=' %~' # prompt for right side of screen # bindkey -v # vi key bindings @@ -16,4 +16,7 @@ PROMPT='%m%# ' # default prompt bindkey ' ' magic-space # also do history expansion on space # setup backspace correctly -stty erase `tput kbs` +if [ -x /usr/bin/tput ]; then + # check we're not in a dumb terminal + [ -n "`tput kbs 2>/dev/null`" ] && stty erase `tput kbs` +fi