Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/focusaurus/atom-format-shell
Format shell script from within atom text editor
https://github.com/focusaurus/atom-format-shell
atom shell
Last synced: 12 days ago
JSON representation
Format shell script from within atom text editor
- Host: GitHub
- URL: https://github.com/focusaurus/atom-format-shell
- Owner: focusaurus
- License: mit
- Created: 2016-10-10T17:00:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T23:45:52.000Z (over 1 year ago)
- Last Synced: 2024-10-24T18:07:52.451Z (25 days ago)
- Topics: atom, shell
- Language: Shell
- Size: 228 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Atom Format Shell
Automatically format/beautify/pretty-print your shell script source code from within the Atom text editor.
The formatting is powered under the hood by [shfmt](https://github.com/mvdan/sh), which must be installed separately from atom and this atom package.
You can install shfmt by [several package managers as documented here](https://github.com/mvdan/sh).
## How to use
There are two ways to format your code:
- Automatically **format on save** (requires enabling in _Packages → Format Shell → Toggle Format on Save_)
- Run the command _Format Shell: Format_ to invoke `shfmt` manually