blob: 5c72cd34ba012c0f064c864ee293604490c83d96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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
|