2016-06-14 19:13:06 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# Paths
|
|
|
|
export PATH=$PATH:${HOME}/bin:/usr/lib/wine/bin:/sbin:/usr/sbin:/usr/local/bin
|
2018-02-11 01:22:34 +00:00
|
|
|
|
2018-02-11 04:24:17 +00:00
|
|
|
# Give the path to the dotfiles
|
|
|
|
export _DOTFILES="${HOME}/dotfiles"
|
|
|
|
|
2018-02-11 03:36:07 +00:00
|
|
|
# Allow automatic updates
|
2018-02-11 04:02:42 +00:00
|
|
|
export DISABLE_DOTFILES_AUTO_UPDATE="FALSE"
|
2018-02-11 03:36:07 +00:00
|
|
|
|
2018-02-11 05:18:23 +00:00
|
|
|
# Set "true" to update without asking first
|
|
|
|
export DISABLE_DOTFILES_UPDATE_PROMPT="FALSE"
|
|
|
|
|
2018-02-11 04:24:17 +00:00
|
|
|
# Update every 2 weeks (OMZ default)
|
|
|
|
export UPDATE_DOTFILES_DAYS=13
|
|
|
|
|
2018-02-11 01:22:34 +00:00
|
|
|
# Automatically attach tmux session "C0DE" upon entering a shell
|
|
|
|
if [[ -z "$TMUX" ]]; then
|
|
|
|
tmux attach -t C0DE || tmux new -s C0DE
|
|
|
|
fi
|