# If not running interactively, don't do anything [[ $- != *i* ]] && return PS1="\w > " PS2=">> " PATH="${HOME}/clone/dotfiles/scripts:${PATH}" EDITOR='vim' LOGDIR='~/log' alias log="${EDITOR} ${LOGDIR}/`date +%d_%m_%Y`" alias vimconfig="${EDITOR} ~/.vimrc" 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