Merge branch 'master' of git.fudiggity.nl:sonny/dotfiles
This commit is contained in:
commit
42a31888f7
1 changed files with 1 additions and 6 deletions
7
.bashrc
7
.bashrc
|
|
@ -52,13 +52,8 @@ if [ "$force_color_prompt" == "yes" ] && [ -z "$color_prompt" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Show different prompts for vm users or "normal" users
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
if [ "$CONTAINER_OR_VM" = true ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
else
|
||||
PS1="\[\033[1;35m\]\u\[\033[1;34m\]@\[\033[1;30m\]\h \[\033[1;34m\]\w\\[\033[0;37m\]$ "
|
||||
fi
|
||||
PS1="\[\033[1;35m\]\u\[\033[1;34m\]@\[\033[1;30m\]\h \[\033[1;34m\]\w\\[\033[0;37m\]$ "
|
||||
else
|
||||
PS1='\u@\h:\w\$ '
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue