summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index b0b3bc0..e607f28 100644
--- a/bashrc
+++ b/bashrc
@@ -50,7 +50,8 @@ green='\[\033[0;32m\]'
red='\[\033[0;31m\]'
red_b='\[\033[1;31m\]'
[ $(id -u) -eq 0 ] && user_color=$red_b || user_color=$yellow_b
-PS1=${TITLE}"($user_color\u$reset@$green\h$reset) \W\$(__git_ps1) $red\$$reset > "
+nrjobs='$([ \j -gt 0 ] && echo " [\j]")'
+PS1=${TITLE}"($user_color\u$reset@$green\h$reset) \W\$(__git_ps1)$nrjobs $red\$$reset > "
export PATH=~/Apps/bin:$PATH
export EDITOR="/usr/bin/vim"