From 9ba21d9cb899af810ec8606dcb3cd72fa2db1e21 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 26 Mar 2023 01:32:49 -0400 Subject: [PATCH] Auto Update --- files/.bashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/.bashrc b/files/.bashrc index 79e284d..34cbfa3 100644 --- a/files/.bashrc +++ b/files/.bashrc @@ -40,12 +40,12 @@ if [ -d ~/git/dotfiles/source ]; then fi # set prompt colors and style -[[ -f ~/.PS1 ]] && . ~/.PS1 || PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' +[[ -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 - source /usr/share/doc/pkgfile/command-not-found.bash -fi +PKG_COMP=/usr/share/doc/pkgfile/command-not-found.bash +[[ -f $PKG_COMP ]] . $PKG_COMP if [ -d ~/.fzf ]; then source ~/.fzf/completion.bash