Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
[docs] Add 'Bash in Gitpod'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hellum authored and jankeromnes committed Jan 23, 2020
1 parent 71ff621 commit c34dba4
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/docs/bash-in-gitpod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Bash in Gitpod

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

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`](https://www.gitpod.io/docs/41_config_gitpod_file/) configuration file to your repository that looks like this (notice the `vscode` extensions section):

```yaml
image:
file: .gitpod.Dockerfile

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
1 change: 1 addition & 0 deletions src/docs/languages-and-frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ Below is a list of language and framework specific tips & tricks.
* [Python](/docs/python-in-gitpod/)
* [Julia](/docs/julia-in-gitpod/)
* [Go](/docs/go-in-gitpod/)
* [Bash](/docs/bash-in-gitpod/)
* [Ruby](/docs/ruby-in-gitpod)
* [Rust](/docs/rust-in-gitpod/)
4 changes: 4 additions & 0 deletions src/docs/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ export const MENU: MenuEntry[] = [
"Go",
"go-in-gitpod"
),
M(
"Bash",
"bash-in-gitpod"
),
M(
"Ruby",
"ruby-in-gitpod"
Expand Down

0 comments on commit c34dba4

Please sign in to comment.