This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean Hellum
committed
Jan 11, 2020
1 parent
b87fce9
commit 7c6bf07
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
# Bash | ||
|
||
Bash is the default shell in Gitpod. But if you're developing Bash scripts yourself, you may want to configure additional language support for Bash. | ||
|
||
## Workspace Config | ||
|
||
|
||
#### ShellCheck | ||
### ShellCheck | ||
|
||
To use ShellCheck in Gitpod, first, we must install the `shellcheck` tool. Here is a Dockerfile to get you started. | ||
|
||
```Dockerfile | ||
FROM gitpod/workspace-full | ||
|
||
USER gitpod | ||
|
||
RUN brew install shellcheck | ||
``` | ||
|
||
You should also install the shellcheck VS Code extension in Gitpod, e.g. by adding a `.gitpod.yml` configuration file to your repository that looks like this (notice the `vscode` extensions section): | ||
|
||
```yaml | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
@@ -23,9 +26,11 @@ vscode: | |
extensions: | ||
- [email protected]:hsU/Rd39aqPYowTqL+DbXg== | ||
``` | ||
Not sure about ShellCheck? Try it in Gitpod! | ||
[![JesterOrNot/Gitpod-ShellCheck](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/JesterOrNot/Gitpod-ShellCheck) | ||
## External Resources | ||
* For more on ShellCheck see https://shellcheck.net | ||
- For more on ShellCheck see https://shellcheck.net |