prompt changes

This commit is contained in:
Andrew Davidson 2023-04-10 22:30:32 -07:00
parent 4824ee7022
commit 866d85dc3a
Signed by: amd
SSH key fingerprint: SHA256:ugJCg4p5ibiMeQwZ9n6ZlhMGEX8uZv/M5q1oeV6BY3Q

View file

@ -100,7 +100,8 @@ function git_prompt {
# Make a pretty prompt.
export PROMPT_COMMAND='history -a; if [ $? -ne 0 ];then ERROR_FLAG=1;else ERROR_FLAG=;fi;'
export PS1=${HOSTCOLOUR}${sh_light_gray}'\t | \h'${sh_green}':\w'${sh_light_gray}' $(git_prompt)'${sh_light_gray}'${ERROR_FLAG:+'${sh_light_red}'}\$ '${sh_norm}
#export PS1=${HOSTCOLOUR}${sh_light_gray}'\t | \h'${sh_green}':\w'${sh_light_gray}' $(git_prompt)'${sh_light_gray}'${ERROR_FLAG:+'${sh_light_red}'}\$ '${sh_norm}
export PS1=${HOSTCOLOUR}${sh_white}'\h'${sh_green}' \w'${sh_blue}' $(git_prompt)'${sh_light_gray}'${ERROR_FLAG:+'${sh_light_red}'}\$ '${sh_norm}
# New files and folders should not be world readable
umask 0027