dotfiles/shell/env
2018-02-10 22:02:53 -06:00

21 lines
526 B
Plaintext

# Skip all this for non-interactive shells
[[ -z "$PS1" ]] && return
# Force en_US UTF-8 environment
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export DOTFILES="${HOME}/dotfiles"
# Paths
export PATH=$PATH:${HOME}/bin:/usr/lib/wine/bin:/sbin:/usr/sbin:/usr/local/bin
# Allow automatic updates
export DISABLE_DOTFILES_AUTO_UPDATE="FALSE"
# Automatically attach tmux session "C0DE" upon entering a shell
if [[ -z "$TMUX" ]]; then
tmux attach -t C0DE || tmux new -s C0DE
fi