f45ce1a88e
spacemacs/add-flycheck-hook was not really hooking anything, change the name to better reflect what it does. Also changed the push for a add-to-list to avoid duplicates. |
||
---|---|---|
.. | ||
img | ||
config.el | ||
funcs.el | ||
packages.el | ||
README.org |
Shell Scripts layer
Description
This simple layer adds support for shell scripting.
Supported scripting files:
.sh
.fish
: fish shell
Note: For Windows scripting see the layer windows-scripts
Features
- Auto-completion using company-shell
Sh
scripts linting using shellcheck
Install
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add shell-scripts
to the existing dotspacemacs-configuration-layers
list in this
file.
Linting
In order to enable sh
scripts linting, install shellcheck.
Key Bindings
Key Binding | Description |
---|---|
SPC i ! |
insert shebang in a script file |
SPC m \ |
insert end-of-line backslashes to the lines in the region |