From bf4f9eba844aeb4c8c5ccb5bb55076d9a4d3df9a Mon Sep 17 00:00:00 2001 From: "R.P. Clark" Date: Tue, 10 Dec 2024 16:00:46 +0000 Subject: [PATCH] hostname now automatically inserted --- bash.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash.bashrc b/bash.bashrc index c1d374a..68c37d7 100644 --- a/bash.bashrc +++ b/bash.bashrc @@ -140,8 +140,8 @@ export EDITOR vi RED="\[\033[0;31m\]" YELLOW="\[\033[0;33m\]" GREEN="\[\033[0;32m\]" - -PS1="$GREEN\$(date +%Y-%m-%d_%H:%M) \w$RED \$(formattedGitBranch)$GREEN \n\$ " +hn=`hostname` +PS1="$GREEN\$(date +%Y-%m-%d_%H:%M) $YELLOW $hn $GREEN \w $RED \$(formattedGitBranch)$GREEN \n\$ " export PATH="$PATH:"/opt/microchip/xc8/v1.34/bin""