1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

Fix $ sign not changing into #

This commit is contained in:
Starbeamrainbowlabs 2016-01-15 21:06:12 +00:00
parent 05ba677c7c
commit 6e49c467dc

View file

@ -92,7 +92,12 @@ prompt_colon()
set_bash_prompt() set_bash_prompt()
{ {
PS1="${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\H\[\033[00m\]$(prompt_colon)\[\033[01;34m\]\w\[\033[00m\]\$ " PS1="${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\H\[\033[00m\]$(prompt_colon)\[\033[01;34m\]\w\[\033[00m\]"
if [[ "$UID" = 0 ]]; then
PS1="${PS1}# "
else
PS1="${PS1}\$ "
fi
} }
# https://help.ubuntu.com/community/CustomizingBashPrompt # https://help.ubuntu.com/community/CustomizingBashPrompt