diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-02-19 22:50:00 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-02-19 22:50:00 +0500 |
commit | df2105166b6a8a45f521fb22e7f0c4d2cd4f1c72 (patch) | |
tree | 6723762cd5a4ccb5ceb13fb250600ca4b2cf38a7 /.config/.bashrc | |
parent | 86fa5c522cf3eb86246c2540749c875098f55bda (diff) |
clean bash profile, change vim/nvim configs and add some scripts
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 |