2657c87f0aa1fe7f66062bc3452ad68347be356f

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Add gitpod integration

Fixes #8212

Co-authored-by: Sean Hellum <seanhellum45@gmail.com>

Diff

 1diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..b35c80dfb852f61c70a7bf87bb1919da27678d53
 4--- /dev/null
 5+++ b/.gitpod.Dockerfile
 6@@ -0,0 +1,5 @@
 7+FROM gitpod/workspace-full
 8+
 9+RUN sudo apt-get update && \
10+    sudo apt-get install -y zsh && \
11+    sudo rm -rf /var/lib/apt/lists/*
12diff --git a/.gitpod.yml b/.gitpod.yml
13new file mode 100644
14index 0000000000000000000000000000000000000000..ccc57242c615a718bc633f336dc878c8388cc612
15--- /dev/null
16+++ b/.gitpod.yml
17@@ -0,0 +1,9 @@
18+image:
19+  file: .gitpod.Dockerfile
20+
21+tasks:
22+  - init: |
23+      export EDITOR="command gp open -w" VISUAL="command gp open -w"
24+      cp -f /workspace/ohmyzsh/templates/zshrc.zsh-template ~/.zshrc
25+      ln -sf /workspace/ohmyzsh ~/.oh-my-zsh
26+    command: exec zsh
27diff --git a/README.md b/README.md
28index 0c292e100fe0ec144db4bc227d05ac30ad9386e9..86037f19968c5f823286615095a2adf877854730 100644
29--- a/README.md
30+++ b/README.md
31@@ -15,6 +15,7 @@ To learn more, visit [ohmyz.sh](https://ohmyz.sh), follow [@ohmyzsh](https://twi
32 [![CI](https://github.com/ohmyzsh/ohmyzsh/workflows/CI/badge.svg)](https://github.com/ohmyzsh/ohmyzsh/actions?query=workflow%3ACI)
33 [![Follow @ohmyzsh](https://img.shields.io/twitter/follow/ohmyzsh?label=Follow+@ohmyzsh&style=flat)](https://twitter.com/intent/follow?screen_name=ohmyzsh)
34 [![Discord server](https://img.shields.io/discord/642496866407284746)](https://discord.gg/ohmyzsh)
35+[![Gitpod ready](https://img.shields.io/badge/Gitpod-ready-blue?logo=gitpod)](https://gitpod.io/#https://github.com/ohmyzsh/ohmyzsh)
36 
37 ## Getting Started
38