From fe6ea6f2dfd882a0f1d56d9406be258001d1dd32 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Mon, 7 Sep 2020 08:31:05 +0000 Subject: [PATCH] Add '.dotfiles/environment' --- .dotfiles/environment | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .dotfiles/environment diff --git a/.dotfiles/environment b/.dotfiles/environment new file mode 100644 index 0000000..618ddde --- /dev/null +++ b/.dotfiles/environment @@ -0,0 +1,19 @@ +export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/goworkspace/bin" +export EDITOR='vim' +export VISUAL='code' + +# AWS +export AWS_PROFILE=$(cat ~/.aws/profile) +export AWS_DEFAULT_REGION=eu-west-1 +export AWS_REGION=eu-west-1 + +# Node +export NODE_ENV=localhost +export NPM_TOKEN=`head -n 1 ~/.npmrc | sed 's~//registry.npmjs.org/:_authToken=\(.*\)~\1~'` + +# Go +export GOPATH=$HOME/goworkspace +export GO111MODULE=on + +# Krew +export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"