dotfiles/exports.zsh

20 lines
327 B
Bash
Raw Normal View History

2018-06-15 13:43:04 +00:00
#!/usr/bin/env zsh
2018-02-23 09:38:24 +00:00
export LANG="en_US.UTF-8"
export LC_ALL="$LANG"
2018-06-27 17:04:46 +00:00
2018-07-04 20:55:45 +00:00
if [[ -z "$USER" && -n "$USERNAME" ]]; then
2018-06-27 17:04:46 +00:00
export USER="$USERNAME"
fi
2018-07-04 20:55:45 +00:00
export DEFAULT_USER="dmitmel"
2018-02-23 09:38:24 +00:00
2018-07-04 20:55:45 +00:00
if [[ -n "$SSH_CONNECTION" ]]; then
2018-02-23 09:38:24 +00:00
export EDITOR="rmate"
else
2018-07-03 08:57:03 +00:00
export EDITOR="code --wait"
2018-02-23 09:38:24 +00:00
fi
2018-07-04 20:55:45 +00:00
export CLICOLOR="1"
2018-02-23 09:38:24 +00:00
export SDKMAN_DIR="$HOME/.sdkman"