From dbe0817429effbba1ca8ddefe8838ea8a140a2b6 Mon Sep 17 00:00:00 2001 From: Matt Alexander <52413912+mattalexander-pantheon@users.noreply.github.com> Date: Wed, 21 Jul 2021 19:55:12 -0500 Subject: [PATCH] A more reliable way to get GOPATH The GOPATH environment variable is not a sure thing anymore. https://golang.org/doc/gopath_code#GOPATH --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9902b65..2286f1a 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ For best results, dedicate a terminal to tailing `$TMPDIR/q` while you work. ## Install ```sh -git clone https://github.com/ryboe/q $GOPATH/src/q +git clone https://github.com/ryboe/q "$(go env GOPATH)"/src/q ``` Put these functions in your shell config. Typing `qq` or `rmqq` will then start