Skip to content

Commit ffbe4a6

Browse files
author
Kevin McCulloch
committed
conditional source of bash_prompt.sh
1 parent efc9ea2 commit ffbe4a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bashrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ export EDITOR="$VISUAL"
3939
source "$KM_BASH/lib/bash_aliases.sh"
4040

4141
# Source prompt
42-
source "$KM_BASH/lib/bash_prompt.sh"
42+
if [ -n "$KM_PROMPT" ]; then
43+
source "$KM_BASH/lib/bash_prompt.sh"
44+
fi
4345

4446
# Source local git settings
4547
export GIT_AUTHOR_NAME=$KM_NAME

0 commit comments

Comments
 (0)