Minimal setup for shellcheck as a compiler in Vim for linting bash scripts.

This page summarizes the projects mentioned and recommended in the original post on /r/bash

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • vim-shellcheck

    Vim wrapper for ShellCheck, a static analysis tool for shell scripts.

  • And that is pretty much all there is to it, after I dropped the files in their respective folders I now hit F9 to lint a shellscript in the active window. I hit \co to open the quick fix list, and then I can jump to the error messages. FYI. I nicked the format string and the reload-guard from here.

  • ale

    Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support

  • If you are interested in alternatives the ALE plugin https://github.com/dense-analysis/ale can automatically detect if tools like shellcheck are installed and will just magically lint your files continuously in the background with nice highlighting. Worth a look!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts