commit 6cf37eaed1e9a7ae82b458b55082a0fc277571b9
parent b10013f9a0c64df12de19c128abe68f7b59617b8
Author: Chris Bracken <chris@bracken.jp>
Date: Thu, 31 Mar 2022 16:48:23 -0700
zshenv: add GOPATH
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.zshenv b/.zshenv
@@ -38,6 +38,9 @@ export GOMA_DIR="$SRC_ROOT/goma"
export GOMA_LOCAL_OUTPUT_CACHE_DIR="$GOMA_DIR/.goma_cache"
[[ "$(uname)" == "Darwin" ]] && export FLUTTER_GOMA_CREATE_XCODE_SYMLINKS=1
+# Set GOPATH.
+export GOPATH="$SRC_ROOT/go"
+
# If a local python3 directory exists, add PYTHONPATH.
if [[ -d "$HOME/.local/lib/python3" ]]; then
export PYTHONPATH="$HOME/.local/lib/python3:$PYTHONPATH"