dotfiles/.dotfiles/environment
2021-10-14 10:11:17 +01:00

26 lines
640 B
Plaintext

export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/goworkspace/bin:$HOME/.cargo/bin:/usr/local/kubebuilder/bin:$HOME/.asdf/shims"
export EDITOR='vim'
export VISUAL='code'
export GPG_TTY=$(tty)
# AWS
if [ -f ~/.aws/profile ]; then
export AWS_PROFILE=$(cat ~/.aws/profile)
export AWS_DEFAULT_REGION=eu-west-1
export AWS_REGION=eu-west-1
fi
# 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"
# Starship
export STARSHIP_LOG=error