add doctor for shell and update readme
This commit is contained in:
parent
5dacbb7cb1
commit
9d76d983c4
2 changed files with 13 additions and 4 deletions
|
@ -9,14 +9,18 @@ This module adds support for shell scripting languages.
|
||||||
|
|
||||||
* Table of Contents :TOC:
|
* Table of Contents :TOC:
|
||||||
- [[#install][Install]]
|
- [[#install][Install]]
|
||||||
|
- [[#dependencies][Dependencies]]
|
||||||
- [[#appendix][Appendix]]
|
- [[#appendix][Appendix]]
|
||||||
- [[#commands][Commands]]
|
- [[#commands][Commands]]
|
||||||
|
|
||||||
* Install
|
* Install
|
||||||
This module has no dependencies.
|
** Dependencies
|
||||||
|
This module has one soft dependency:
|
||||||
|
|
||||||
|
+ ~shellcheck~ Enables shell script linting.
|
||||||
|
|
||||||
* Appendix
|
* Appendix
|
||||||
** Commands
|
** Commands
|
||||||
| command | key / ex command | description |
|
| command | key / ex command | description |
|
||||||
|------------+------------------+-------------------------------------------------------|
|
|-----------------+------------------+-------------------------------------------------------|
|
||||||
| ~+sh/repl~ | =:repl= | Open a terminal (or send the current selection to it) |
|
| ~+sh/open-repl~ | =:repl= | Open a terminal (or send the current selection to it) |
|
||||||
|
|
5
modules/lang/sh/doctor.el
Normal file
5
modules/lang/sh/doctor.el
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
;;; lang/sh/doctor.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(when! (not (executable-find "shellcheck"))
|
||||||
|
(warn! "Couldn't find shellcheck. Shell script linting will not work"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue