if [[ -z "${XDG_RUNTIME_DIR}" ]]; then XDG_RUNTIME_DIR=/tmp/$(id -u) if [[ ! -d ${XDG_RUNTIME_DIR} ]]; then mkdir -p ${XDG_RUNTIME_DIR} chmod 700 ${XDG_RUNTIME_DIR} fi export XDG_RUNTIME_DIR fi source ~/.config/zsh/.zshenv if [[ -z "${DISPLAY}" ]] && [[ "$(tty)" == "/dev/tty1" ]]; then if [[ -z "${SSH_AGENT_PID}" ]]; then eval $(ssh-agent) fi exec startx -- vt1 fi