/modern-sh

:guitar: An Emacs minor mode for editing shell script.

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

Emacs Logo GitHub license Sponsor MELPA

Modern sh

An Emacs minor mode for editing shell script.

Features

  • Modern syntax highlighting
  • Auto format on save
  • Code navigation (using imenu)
  • Go to definition (using ctags)
  • REPL

Installation

Using MELPA

This package can be obtain from MELPA or MELPA Stable. The master branch is continuously deployed to MELPA, and released versions are deployed to MELPA Stable.

M-x package-install [RET] modern-sh [RET]

(require 'modern-sh)
(define-key modern-sh-mode-map (kbd "<f6>")  'modern-sh-menu)
(add-hook 'sh-mode-hook #'modern-sh-mode)