BTS

Issue1308

Title grml-etc-core/etc/zsh/zshrc syntax error in function hgdi()
Priority bug Status resolved
Superseder Nosy List Xk2c
Assigned To Topics

Created on 2014-05-17.00:34:13 by Xk2c, last changed 2014-05-26.11:08:25 by mika.

Messages
msg4810 (view) Author: mika Date: 2014-05-26.11:08:25
Hi,

no problem and thanks for taking care :)

regards,
-mika-
msg4808 (view) Author: Xk2c Date: 2014-05-20.20:27:01
Hello Mika,


thanks for clarifying. I haven't been aware of this zsh "feature".  ;)

Sorry for the noise.


kind regards,

     Thilo


Excerpt from Michael Prokop:

> 
> Michael Prokop <mika@grml.org> added the comment:
> 
> Hi,
> 
> zsh supports the short "for" loops just fine, I can't see any problem with the
> quoted code. If I should have overlooked something please just reopen this bug
> with more details.
> 
> Thanks for reporting,
> -mika-
> 
> ----------
> status: unread -> resolved
> 
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1308>
> _____________________________________
msg4806 (view) Author: mika Date: 2014-05-20.10:28:10
Hi,

zsh supports the short "for" loops just fine, I can't see any problem with the
quoted code. If I should have overlooked something please just reopen this bug
with more details.

Thanks for reporting,
-mika-
msg4805 (view) Author: Xk2c Date: 2014-05-17.00:34:13
hello

the function hgdi() in 'grml-etc-core/etc/zsh/zshrc' is broken.
Patch follows:

-  for i in $(hg status -marn "$@") ; diff -ubwd <(hg cat "$i") "$i"
+  for i in $(hg status -marn "$@") ; do diff -ubwd <(hg cat "$i") "$i"; done

bye
History
Date User Action Args
2014-05-26 11:08:25mikasetstatus: chatting -> resolved
messages: + msg4810
2014-05-20 20:27:01Xk2csetstatus: resolved -> chatting
messages: + msg4808
2014-05-20 10:28:10mikasetstatus: unread -> resolved
messages: + msg4806
2014-05-17 00:34:13Xk2ccreate