# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

export PROXY_HOST=""
export JETBRAINS_LICENSE_SERVER=""

if test -f "$HOME/.scripts/secrets.sh"; then
    chmod +x "$HOME/.scripts/secrets.sh"
    source "$HOME/.scripts/secrets.sh"
    alias proxy='ssh -D 8000 -N $(whoami)@$PROXY_HOST -i ~/.ssh/id_ed25519'
fi

export PATH="$HOME/.cargo/bin:$PATH"