1
0
Fork 0

bashrc, zshrc: new prompt; xresources: back to terminus

This commit is contained in:
Von Random 2019-11-24 01:20:40 +03:00
parent 4d4f96e22c
commit 2274d523aa
3 changed files with 16 additions and 12 deletions

4
bashrc
View file

@ -22,8 +22,8 @@ prompt_command() {
esac
}
((UID)) && ps_clr=4 || ps_clr=1
# just a colored version of [ $USER@$HOSTNAME ~ ]$
PS1='\[\e[47;30m\][ \[\e[3'"$ps_clr"'m\]\u\[\e[30m\]@\h \[\e[32m\W\[\e[30m\] ]\$\[\e[0m\] '
# just a colored version of [ $USER@$HOSTNAME ~ ]
PS1='\[\e[47;30m\][ \[\e[3'"$ps_clr"'m\]\u\[\e[30m\]@\h \[\e[32m\W\[\e[30m\] ]\[\e[0m\]\n\$ '
unset ps_clr
PROMPT_COMMAND=prompt_command
# }}}