dotfiles/home/.dotfiles/environment
Marcus Noble 1bbe379a34
Set DOCKER_HOST env var
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-07-06 10:17:43 +01:00

34 lines
752 B
Plaintext

export EDITOR='vim'
export VISUAL='code'
export GPG_TTY=$(tty)
# AWS
export AWS_PAGER=""
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
[ -f ~/.npmrc ] && export NPM_TOKEN=`head -n 1 ~/.npmrc | sed 's~//registry.npmjs.org/:_authToken=\(.*\)~\1~'`
# Go
export GOPATH=$HOME/goworkspace
export GO111MODULE=on
# Starship
export STARSHIP_CONFIG=~/.starship/config.toml
export STARSHIP_LOG=error
# Bat
export BAT_THEME="Monokai Extended Light"
export BAT_STYLE="grid,header"
# TZ
export TZ_LIST="Europe/Berlin;Europe/Sofia;UTC"
# Docker
export DOCKER_HOST=$(docker context inspect --format='{{.Endpoints.docker.Host}}')