# Author      : Gaston Gonzalez
# Date        : 23 April 2024
# Updated     : 18 March 2025
# Description : bash profile

# All user accounts should be in the 'et-data' group to allow data sharing with
# EmComm Tools. A umask of 002 is required to allow users and the system to
# read and write shared data files.
umask 002

# Disable the terminal bell for opsec
xset b off

alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'

RED='\x1B[1;31m'
BLUE='\x1B[1;34m'
CYAN='\x1B[1;36m'
GREEN='\x1B[1;32m'
YELLOW='\x1B[1;33m'
NC='\x1B[0m'

export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ "

echo -e "${YELLOW}"
cat /etc/motd
echo -e "${NC}"

export ET_USER_CONFIG=${HOME}/.config/emcomm-tools/user.json
export ET_LOG_DIR=${HOME}/.local/share/emcomm-tools

# Export environment variables to support WINE installs for VARA
export WINEARCH="win64"
export WINEPREFIX="$HOME/.wine32"
export WINEDEBUG=-all
