diff --git a/bash/.bash_profile b/bash/.bash_profile new file mode 100644 index 0000000..f7639f2 --- /dev/null +++ b/bash/.bash_profile @@ -0,0 +1,8 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc +if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + exec startx +fi diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..2ba968e --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,11 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +neofetch