help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird zsh script highlight


From: Emanuel Berg
Subject: Re: weird zsh script highlight
Date: Sun, 08 Aug 2021 00:27:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> #! /bin/zsh
> #
> # this file:
> #   https://dataswamp.org/~incal/scripts/aok-sc
>
> . ~/public_html/conf/.zsh/apt
>
> repeat 4 a2

"repeat" is a zsh shell reserved word, try 'whence -ca repeat' or
'type repeat' (or "t", https://dataswamp.org/~incal/conf/.zsh/ide
lines 69-105)

There is no repeat in bash but there is one in ksh, perhaps
that has another syntax than in zsh because in sh-mode the
"repeat" word (line 8 in this
https://dataswamp.org/~incal/scripts/aok-sc script) gets
highlighted with `show-paren-mismatch' - but no parens what
I can see and the script works...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]