# ~/.bash_profile # [[ -f ~/.bashrc ]] && . ~/.bashrc [[ -x /usr/bin/vim ]] && export EDITOR="/usr/bin/vim" export PATH="$HOME/.local/bin:$PATH" export PATH="$PATH:$HOME/.cargo/bin" if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then exec startx fi