BTS

Issue389

Title zshrc - minimal version requirement
Priority wish Status resolved
Superseder Nosy List ft, mika
Assigned To ft Topics configs, grml-etc-core, zsh

Created on 2008-01-30.22:17:13 by ft, last changed 2008-02-11.17:15:30 by mika.

Messages
msg1169 (view) Author: mika Date: 2008-02-11.17:15:30
We believe that your issue has been closed by the upload of
Version 0.3.48 of grml-etc-core from Michael Prokop <mika@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 11 Feb 2008 17:58:42 +0100
Source: grml-etc-core
Binary: grml-etc-core
Architecture: source all
Version: 0.3.48
Distribution: unstable
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml-etc-core - core ecetera files for the grml system
Changes: 
 grml-etc-core (0.3.48) unstable; urgency=low
 .
   [ Alexander Steinböck ]
   * zshrc: use $PAGER in dchange(), uchange() and dnews() [Closes: issue386]
   * zshrc: adding whatwhen() for history queries [Closes: issue380]
 .
   [ Frank Terbeck ]
   * zshrc: add a check for ZSH_VERSION >= 3.1.7 [Closes: issue389]
 .
   [ Michael Prokop ]
   * zshrc: enable 'setopt longlistjobs' by default
   * zshrc: re-enable use of 'sudo su' instead of 'sudo -s' for alias su,
     otherwise it breaks "su - $USER". Thanks for bringing this up,
     Martin Yazdzik!
Files: 
 6be0fd2d17c9ead9563840024ff703b1 596 grml optional grml-etc-core_0.3.48.dsc
 66e70ab672205c0ed5ea4cb9ac81d42d 93953 grml optional grml-etc-core_0.3.48.tar.gz
 875ecf9abd3830a82454c72a11a55861 96316 grml optional grml-etc-core_0.3.48_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHsH+R2N9T+zficugRApgvAJ9bntatOGTPEda4KrSnQM9Us0cYnQCePuMb
zrMV985Ogx3IIlAUcg2eGy8=
=qsrF
-----END PGP SIGNATURE-----
msg1139 (view) Author: ft Date: 2008-01-31.19:18:48
Frank Terbeck <ft@bewatermyfriend.org>:
> Michael Prokop <bts@bts.grml.org>:
> > * ft [20080130 23:17]:
> > > [..require zsh >=3.1.7..]
> > 
> > ACK! Just go ahead, thanks. :)
> 
> Okay.
> 
>     .o( building and installing v3.1.7 on my laptop, )
>       ( so I can run checks simply and quickly.      )

Which reveals:

[snip]
grml@fsst ~ % zsh-3.1.7
/home/grml/grml-etc-core/etc/zsh/zshrc:338: unknown file attribute
/home/grml/.zshrc.global:338: unknown file attribute
Warning: global zsh config has not been read.
         prepare for possible errors!
[snap]

Damn... So, even with v3.1.7 we break stuff...
I'll look into this, the next few days. :)

Regards, Frank
msg1138 (view) Author: ft Date: 2008-01-31.19:13:34
Michael Prokop <bts@bts.grml.org>:
> * ft [20080130 23:17]:
[...]
> > I suggest we check for $ZSH_VERSION to be at least 3.1.7 and higher,
> > and warn loudly, if that check fails (so nobody wonders why it fails
> > with versions 3.0.x).
> 
> > Comments? If none, expect me to take a shot at this around next weekend.
> 
> ACK! Just go ahead, thanks. :)

Okay.

    .o( building and installing v3.1.7 on my laptop, )
      ( so I can run checks simply and quickly.      )

Regards, Frank
msg1131 (view) Author: mika Date: 2008-01-30.22:48:26
* ft [20080130 23:17]:

> Our zsh configuration depends on a few features that require at least
> version 3.1.6 of the shell. Personally, I think requiring version 3.1.7
> should be even safer (as 3.1.6 introduces quite a *lot* of new features).

> I suggest we check for $ZSH_VERSION to be at least 3.1.7 and higher,
> and warn loudly, if that check fails (so nobody wonders why it fails
> with versions 3.0.x).

> Comments? If none, expect me to take a shot at this around next weekend.

ACK! Just go ahead, thanks. :)

regards,
-mika-
msg1130 (view) Author: ft Date: 2008-01-30.22:17:12
Our zsh configuration depends on a few features that require at least
version 3.1.6 of the shell. Personally, I think requiring version 3.1.7
should be even safer (as 3.1.6 introduces quite a *lot* of new features).

I suggest we check for $ZSH_VERSION to be at least 3.1.7 and higher,
and warn loudly, if that check fails (so nobody wonders why it fails
with versions 3.0.x).

Comments? If none, expect me to take a shot at this around next weekend.

Regards, Frank
History
Date User Action Args
2008-02-11 17:15:30mikasetstatus: chatting -> resolved
nosy: mika, ft
messages: + msg1169
2008-01-31 19:18:48ftsetnosy: mika, ft
messages: + msg1139
2008-01-31 19:13:34ftsetnosy: mika, ft
messages: + msg1138
2008-01-30 22:48:26mikasetstatus: unread -> chatting
nosy: mika, ft
messages: + msg1131
2008-01-30 22:17:13ftcreate