# If not running interactively, don't do anything [[ $- != *i* ]] && return blue="\[$(tput setaf 5)\]" reset="\[$(tput sgr0)\]" PS1="${blue}\u${reset} \w\n> " PS2=">> " PATH="${HOME}/projects/dotfiles/scripts:${PATH}" EDITOR='nvim' LOGDIR='~/log' alias log="${EDITOR} ${LOGDIR}/`date +%d_%m_%Y`" alias nvimconfig="${EDITOR} ~/.config/nvim/init.lua" alias weather='curl wttr.in' if command -v startx >/dev/null 2>&1 ; then if [[ -z $DISPLAY ]] && [[ $(tty) = "/dev/tty1" ]]; then exec startx &> /dev/null fi fi