summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitpod.Dockerfile5
-rw-r--r--.gitpod.yml9
-rw-r--r--README.md1
3 files changed, 15 insertions, 0 deletions
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile
new file mode 100644
index 000000000..b35c80dfb
--- /dev/null
+++ b/.gitpod.Dockerfile
@@ -0,0 +1,5 @@
+FROM gitpod/workspace-full
+
+RUN sudo apt-get update && \
+ sudo apt-get install -y zsh && \
+ sudo rm -rf /var/lib/apt/lists/*
diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 000000000..ccc57242c
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,9 @@
+image:
+ file: .gitpod.Dockerfile
+
+tasks:
+ - init: |
+ export EDITOR="command gp open -w" VISUAL="command gp open -w"
+ cp -f /workspace/ohmyzsh/templates/zshrc.zsh-template ~/.zshrc
+ ln -sf /workspace/ohmyzsh ~/.oh-my-zsh
+ command: exec zsh
diff --git a/README.md b/README.md
index 0c292e100..86037f199 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,7 @@ To learn more, visit [ohmyz.sh](https://ohmyz.sh), follow [@ohmyzsh](https://twi
[![CI](https://github.com/ohmyzsh/ohmyzsh/workflows/CI/badge.svg)](https://github.com/ohmyzsh/ohmyzsh/actions?query=workflow%3ACI)
[![Follow @ohmyzsh](https://img.shields.io/twitter/follow/ohmyzsh?label=Follow+@ohmyzsh&style=flat)](https://twitter.com/intent/follow?screen_name=ohmyzsh)
[![Discord server](https://img.shields.io/discord/642496866407284746)](https://discord.gg/ohmyzsh)
+[![Gitpod ready](https://img.shields.io/badge/Gitpod-ready-blue?logo=gitpod)](https://gitpod.io/#https://github.com/ohmyzsh/ohmyzsh)
## Getting Started