dotfiles/lib/exports.zsh
2018-08-23 22:46:00 +02:00

23 lines
387 B
Bash

#!/usr/bin/env zsh
export LANG="en_US.UTF-8"
export LC_ALL="$LANG"
if [[ -z "$USER" && -n "$USERNAME" ]]; then
export USER="$USERNAME"
fi
if is_android; then
export DEFAULT_USER="$USER"
else
export DEFAULT_USER="dmitmel"
fi
if [[ -n "$SSH_CONNECTION" ]]; then
export EDITOR="rmate"
else
export EDITOR="code --wait"
fi
export CLICOLOR="1"
export SDKMAN_DIR="$HOME/.sdkman"