dotfiles/lib/exports.zsh
2018-07-05 11:14:50 +03:00

19 lines
327 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
export DEFAULT_USER="dmitmel"
if [[ -n "$SSH_CONNECTION" ]]; then
export EDITOR="rmate"
else
export EDITOR="code --wait"
fi
export CLICOLOR="1"
export SDKMAN_DIR="$HOME/.sdkman"