title: Customizing the Bash prompt to include number of suspended processes
body: <p>I've read <a href="http://www.ibm.com/developerworks/linux/library/l-tip-prompt/" rel="nofollow">this article</a> and would like to append to my prompt the number of processes I've currently suspended by pressing ctrl + z . According to that list I have to use the </p>
  
  <pre><code>\j
  </code></pre>
  
  <p>to be able to accomplish this. Ideally, I would like to append a </p>
  
  <pre><code>:(number)
  </code></pre>
  
  <p>to my prompt that would be red and bold if its greater than zero and regular and white if it was zero. If this "if"  behavior is not possible, then I could just have it always white and regular text. Could anyone help me out with this? Below is the output of my PS1 variable.</p>
  
  <pre><code>faramir@dev:~/testDir$ echo $PS1
  \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
  </code></pre>
  
  <p>Thanks!</p>