dotfiles/shell/env
David Todd (c0de) c3831f3e7d Disable TMUX attaching on shell open
I found that this can be fairly annoying.
Perhaps add an env variable (or something) if I want to use auto attach
2018-05-16 16:48:48 -05:00

29 lines
805 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
# Paths
export PATH=$PATH:${HOME}/bin:/usr/lib/wine/bin:/sbin:/usr/sbin:/usr/local/bin
# Give the path to the dotfiles
export _DOTFILES="${HOME}/dotfiles"
# Allow automatic updates
export DISABLE_DOTFILES_AUTO_UPDATE="FALSE"
# Set "true" to update without asking first
export DISABLE_DOTFILES_UPDATE_PROMPT="FALSE"
# Update every 2 weeks (OMZ default)
export UPDATE_DOTFILES_DAYS=13
# Disabled for now because I've found this fairly annoying on macos with iTerm2
# Automatically attach tmux session "C0DE" upon entering a shell
# if [[ -z "$TMUX" ]]; then
# tmux attach -t C0DE || tmux new -s C0DE
# fi