mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
highlight path
This commit is contained in:
parent
79f9a97e31
commit
9c7283eef9
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@
|
||||||
[[ $- == *i* ]] || return
|
[[ $- == *i* ]] || return
|
||||||
if [[ "${UID}" == 0 ]]; then
|
if [[ "${UID}" == 0 ]]; then
|
||||||
# red for root user, host green, print full working dir
|
# red for root user, host green, print full working dir
|
||||||
PS1='[\[\e[1;31m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \w]\$ '
|
PS1='[\[\e[1;31m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \e[1m\w\e[m]\$ '
|
||||||
else
|
else
|
||||||
# blue for normal user,host green, print full working dir
|
# blue for normal user,host green, print full working dir
|
||||||
PS1='[\[\e[1;34m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \w]\$ '
|
PS1='[\[\e[1;34m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \e[1m\w\e[m]]\$ '
|
||||||
fi
|
fi
|
||||||
# color man pages
|
# color man pages
|
||||||
export GROFF_NO_SGR=1
|
export GROFF_NO_SGR=1
|
||||||
|
|
Loading…
Reference in a new issue