mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix line break in bash options
This commit is contained in:
parent
e8e2ffc86b
commit
3fdb8879e2
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\] \w]\$ '
|
||||||
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\] \w]\$ '
|
||||||
fi
|
fi
|
||||||
# keep history clean from dups and spaces
|
# keep history clean from dups and spaces
|
||||||
HISTCONTROL="erasedups:ignorespace"
|
HISTCONTROL="erasedups:ignorespace"
|
||||||
|
|
Loading…
Reference in a new issue