• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

format-shell

Format your shell scripts automatically in the Atom text editor
  • #format
  • #beautify
  • #shell
  • #bash
focusaurus
2.2.1 21,667
14
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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, which must be installed separately from atom and this atom package.

You can install shfmt by several package managers as documented here.

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by