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

Re: Zsh-script-mode for emacs?



Bart Schaefer writes:
> On Jul 19,  7:13pm, Juhapekka Tolvanen wrote:
> > Subject: Zsh-script-mode for emacs?
> > 
> > Does someone know any good elisp-file that would implement major mode for
> > editing of zsh-scripts with emacs? Even vi-clone called Vim has own mode for
> > Zsh, but emacs does not have it, yet.
> 
> If you investigate shell-script-mode in recent versions of GNU emacs, you'll
> find that it does in fact classify zsh as a derivative of ksh88 and attempt
> to handle it that way (e.g. it'll recognize #!/bin/zsh and automatically
> start shell-script-mode, etc.)  It's got most of the list of keywords right,
> knows how to insert loop skeletons, etc.
> 
> I have no idea whether XEmacs has this yet.


Yes in fact XEmacs does automaticly start shell-script-mode when
loading a zsh script with '#!/bin/zsh'.

 -Kevin Sullivan



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