From fc7f76ceb771987f435d9c5e1187093a05f8c7ab Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 7 Oct 2017 11:47:38 +0200 Subject: bashrc: fix escaping of \$ for root indicator --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index aa437a6..7c1fb49 100644 --- a/bashrc +++ b/bashrc @@ -52,7 +52,7 @@ red_b='\[\033[1;31m\]' [ $(id -u) -eq 0 ] && user_color=$red_b || user_color=$yellow_b nrjobs='$([ \j -gt 0 ] && echo " [\j]")' [ -n "$debian_chroot" ] && chroot="[$debian_chroot] " -PS1=${TITLE}"($user_color\u$reset@$green\h$reset) $chroot\W\$(__git_ps1)$nrjobs $red\$$reset > " +PS1=${TITLE}"($user_color\u$reset@$green\h$reset) $chroot\W\$(__git_ps1)$nrjobs $red\\\$$reset > " export PATH=~/Apps/bin:$PATH export EDITOR="/usr/bin/vim" -- cgit v1.2.3