dotfiles/home/.dotfiles/environment

37 lines
851 B
Plaintext
Raw Permalink Normal View History

2020-09-07 08:31:05 +00:00
export EDITOR='vim'
export VISUAL='code'
2021-10-14 09:11:17 +00:00
export GPG_TTY=$(tty)
2020-09-07 08:31:05 +00:00
# AWS
export AWS_PAGER=""
2020-09-27 18:58:44 +00:00
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
2020-09-07 08:31:05 +00:00
# Node
export NODE_ENV=localhost
[ -f ~/.npmrc ] && export NPM_TOKEN=`head -n 1 ~/.npmrc | sed 's~//registry.npmjs.org/:_authToken=\(.*\)~\1~'`
2020-09-07 08:31:05 +00:00
# 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}}')
# Brew - Prevent updating all packages when installing a new one
export HOMEBREW_NO_AUTO_UPDATE=1