# .bashrc # If not running interactively, don't do anything [[ $- != *i* ]] && return alias ls='ls --color=auto' alias ll='ls -lh' alias l='ls -lha' PURPLE="\[$(tput setaf 5)\]" RESET="\[$(tput sgr0)\]" PS1="[\u@${PURPLE}\h${RESET} \w]\n> " PS2=">> " # export XDG_RUNTIME_DIR=/run/user/$(id -u) if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi if [[ -z $DISPLAY ]] && [[ $(tty) = "/dev/tty1" ]]; then exec startx &> /dev/null fi