From df2105166b6a8a45f521fb22e7f0c4d2cd4f1c72 Mon Sep 17 00:00:00 2001 From: pryazha Date: Wed, 19 Feb 2025 22:50:00 +0500 Subject: clean bash profile, change vim/nvim configs and add some scripts --- .config/.bashrc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.config/.bashrc') 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 -- cgit v1.2.3