spacemacs/layers/+lang/shell-scripts/README.org

1.3 KiB

Shell Scripts layer

/TakeV/spacemacs/media/commit/c1e455688229fd498d1b8b1db07c9ed6ed5d3904/layers/+lang/shell-scripts/img/fish.png

Description

This simple layer adds support for shell scripting.

Supported scripting files:

Note: For Windows scripting see the layer windows-scripts

Features

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