Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [OT] Emacs and zsh syntax



2012-04-16 12:52:49 +0200, Jesper Nygårds:
> I find that (GNU) emacs' shell-script-mode doesn't fully understand
> zsh syntax. Among other things, emacs considers everything following a
> hash sign (#) a comment, which of course breaks when using globbing
> flags etc.

That's a bug even for other shells.

echo foo#bar

outputs foo#bar in every shell (but zsh with extendedglob which
is one of the reasons extendedglob is not on by default).

-- 
Stephane



Messages sorted by: Reverse Date, Date, Thread, Author