From 4757e94c28064b07a52aa2138927315fe3e0941c Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Fri, 16 Oct 2020 07:57:53 +0000 Subject: [PATCH] split across lines cause POSIX/Bash compliance --- bash/.bashrc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 05d5d2f..3299c72 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -2,6 +2,6 @@ PS1="[\u@\h \W]\$ " PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' -source /home/joel/.commonshell -source /usr/share/doc/pkgfile/command-not-found.bash +source ~/.commonshell +[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && source /usr/share/doc/pkgfile/command-not-found.bash [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion -- Gitblit v1.9.3