prompt changes
This commit is contained in:
parent
4824ee7022
commit
866d85dc3a
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ function git_prompt {
|
||||||
|
|
||||||
# Make a pretty prompt.
|
# Make a pretty prompt.
|
||||||
export PROMPT_COMMAND='history -a; if [ $? -ne 0 ];then ERROR_FLAG=1;else ERROR_FLAG=;fi;'
|
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
|
# New files and folders should not be world readable
|
||||||
umask 0027
|
umask 0027
|
||||||
|
|
Loading…
Reference in a new issue