diff options
Diffstat (limited to 'bashrc')
| -rw-r--r-- | bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -57,7 +57,8 @@ red_b='\[\033[1;31m\]' nrjobs='$([ \j -gt 0 ] && echo " [\j]")' gitps='$(type -t __git_ps1 &>/dev/null && __git_ps1)' [ -n "$debian_chroot" ] && chroot="[$debian_chroot] " -PS1=${TITLE}"($user_color\u$reset@$green\h$reset) $chroot\W$gitps$nrjobs $red\\\$$reset > " +[ -n "$container" ] && container="[$container] " +PS1=${TITLE}"($user_color\u$reset@$green\h$reset) $container$chroot\W$gitps$nrjobs $red\\\$$reset > " # history HISTCONTROL='ignoredups:erasedups' |
