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