From 25163846b2e8b19b44555fe2bec09077bec8a97d Mon Sep 17 00:00:00 2001 From: "Daniel A. Maierhofer" Date: Sat, 17 Mar 2018 14:25:34 +0100 Subject: [PATCH] Change PS1 remove : and add space --- templates/bashrc.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/bashrc.j2 b/templates/bashrc.j2 index b8097cc..0e0fb15 100644 --- a/templates/bashrc.j2 +++ b/templates/bashrc.j2 @@ -63,16 +63,16 @@ if [ -n "$force_color_prompt" ]; then fi if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\] \$ ' else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + PS1='${debian_chroot:+($debian_chroot)}\u@\h \w \$ ' fi unset color_prompt force_color_prompt # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*) - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" + PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h \w\a\]$PS1" ;; *) ;;