BTS

Issue2192

Title Zsh: patch for check_com()
Priority wish Status resolved
Superseder Nosy List Xk2c, mika
Assigned To mika Topics

Created on 2016-04-30.13:36:06 by Xk2c, last changed 2016-05-01.14:23:13 by Xk2c.

Files
File name Uploaded Type Edit Remove
0001-check_com-fixed-and-zshified.patch Xk2c, 2016-04-30.13:36:06 text/x-diff
Messages
msg5857 (view) Author: Xk2c Date: 2016-05-01.14:13:01
Hi Michael,

Michael Prokop schrieb/wrote:
> 
> Thanks, applied and pushed in git!

Thanks and nice day!



kind regards,

     Thilo
--
> ----------
> assignedto:  -> mika
> nosy: +mika
> status: unread -> resolved
> 
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue2192>
> _____________________________________
>
msg5856 (view) Author: mika Date: 2016-04-30.21:32:23
Thanks, applied and pushed in git!

regards,
-mika-
msg5855 (view) Author: Xk2c Date: 2016-04-30.13:36:06
Hello Grml folks,

attached is a patch for check_com() it fixes bugs and is modified to use Zsh
feature.

changelog:
* FIX: in the elif a shift was missing
* MOD: use '(( ${+' instead of '[[ -n ${'
  One thing though: I tried to verify since when Zsh supports that.
  Currently i do not know where to get that from.
* FIX: add -g to help message


kind regards,

Thilo
History
Date User Action Args
2016-05-01 14:23:13Xk2csetstatus: chatting -> resolved
2016-05-01 14:13:01Xk2csetstatus: resolved -> chatting
messages: + msg5857
2016-04-30 21:32:23mikasetstatus: unread -> resolved
assignedto: mika
messages: + msg5856
nosy: + mika
2016-04-30 13:36:06Xk2ccreate