From e78fe4ec5f25117213787c6df8954b1bdedc20b0 Mon Sep 17 00:00:00 2001
From: Ryan McQuen <rpcm@linux.com>
Date: Thu, 16 Jul 2020 13:45:10 -0700
Subject: [PATCH] Add gp command for setting PATH.

---
 .gitpod.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitpod.yml b/.gitpod.yml
index 059c171..b4f22b5 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -1,5 +1,6 @@
 tasks:
-    - init: echo 'export PATH="/usr/local/cargo/bin:$PATH"' >> /etc/profile && export PATH="/usr/local/cargo/bin:$PATH" && ./install.sh
+    - before: gp env -e PATH="/usr/local/cargo/bin:$PATH"
+    - init: ./install.sh
     - command: ~/.cargo/bin/rustlings watch
 image:
     file: .gitpod.Dockerfile