From 0eb05cd3ed6701e36bc1b14d85a29c4a273c2f95 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 26 Mar 2023 01:24:57 -0400 Subject: [PATCH] Auto Update --- files/.bashrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/files/.bashrc b/files/.bashrc index 5132887..79e284d 100644 --- a/files/.bashrc +++ b/files/.bashrc @@ -40,11 +40,7 @@ if [ -d ~/git/dotfiles/source ]; then fi # set prompt colors and style -if [ -f ~/.PS1 ]; then - source ~/.PS1 -else - PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' -fi +[[ -f ~/.PS1 ]] && . ~/.PS1 || PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' # fetch uninstalled package names when attempting command (arch only) if [ -f /usr/share/doc/pkgfile/command-not-found.bash ]; then