2016-01-06 05:21:55 +00:00
|
|
|
#+TITLE: Shell Scripts layer
|
2015-11-08 18:04:44 +00:00
|
|
|
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../../../css/readtheorg.css" />
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
[[file:img/fish.png]]
|
|
|
|
|
2015-10-30 11:20:58 +00:00
|
|
|
* Table of Contents :TOC_4_org:noexport:
|
|
|
|
- [[Description][Description]]
|
2016-02-10 19:48:29 +00:00
|
|
|
- [[Features][Features]]
|
2015-10-30 11:20:58 +00:00
|
|
|
- [[Install][Install]]
|
|
|
|
- [[Key Bindings][Key Bindings]]
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Description
|
|
|
|
|
|
|
|
This simple layer adds support for shell scripting.
|
|
|
|
|
2016-01-18 03:06:04 +00:00
|
|
|
Supported scripting files:
|
|
|
|
- =.sh=
|
2015-06-10 16:44:30 +00:00
|
|
|
- =.fish=: [[https://github.com/fish-shell/fish-shell][fish shell]]
|
|
|
|
|
2015-06-10 21:16:01 +00:00
|
|
|
*Note:* For Windows scripting see the layer =windows-scripts=
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2016-02-10 19:48:29 +00:00
|
|
|
** Features
|
|
|
|
- Auto-completion using [[https://github.com/Alexander-Miller/company-shell][company-shell]]
|
|
|
|
|
2015-06-10 16:44:30 +00:00
|
|
|
* Install
|
2016-01-06 05:21:55 +00:00
|
|
|
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.
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Key Bindings
|
|
|
|
|
2016-01-08 14:37:39 +00:00
|
|
|
| Key Binding | Description |
|
|
|
|
|-------------+-----------------------------------------------------------|
|
|
|
|
| ~SPC m \~ | insert end-of-line backslashes to the lines in the region |
|
|
|
|
|