hostname now automatically inserted

This commit is contained in:
R.P. Clark 2024-12-10 16:00:46 +00:00
parent 938e84f7da
commit bf4f9eba84

View File

@ -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""