Gedit3 plugin for linting shell scripts using ShellCheck
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
shellcheck
LICENSE
README.md
shellcheck.plugin

README.md

ShellCheck plugin for Gedit

This software is a plugin for the text editor Gedit. It allows to check shell scripts using the ShellCheck linter.

Screenshot

This plugin is derived from the JSHint Gedit plugin by Xavier Gendre

Requirements

Requires Gedit 3.14+ and ShellCheck being installed. On Debian-based distros install it using

apt install shellcheck

Installation

You might want to install the plugin using the Gedit Plugin Installer or using these manual steps

git clone https://github.com/lwindolf/gedit-shellcheck.git
mkdir -p ~/.local/share/gedit/plugins/
cp -r gedit-shellcheck/shellcheck.plugin gedit-shellcheck/shellcheck/ ~/.local/share/gedit/plugins/

Ensure to restart Gedit and activate the plugin in the preferences.

Usage

When a JavaScript source code file is active, you can check it with Tools > Check with ShellCheck or with the accelerator Ctrl+J. The results are automatically displayed in the bottom panel.