diff options
Diffstat (limited to '.config/.bashrc')
-rw-r--r-- | .config/.bashrc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.config/.bashrc b/.config/.bashrc index 6ca0e5c..b5407dc 100644 --- a/.config/.bashrc +++ b/.config/.bashrc @@ -1,10 +1,8 @@ -# .bashrc - # If not running interactively, don't do anything [[ $- != *i* ]] && return alias ls='ls --color=auto' -alias ll='ls -lh' +alias lt='ls -t' alias l='ls -lha' PURPLE="\[$(tput setaf 5)\]" @@ -13,12 +11,12 @@ 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 +PATH="$HOME/dotfiles/scripts:$PATH" + if [[ -z $DISPLAY ]] && [[ $(tty) = "/dev/tty1" ]]; then exec startx &> /dev/null fi |