I set PS1 to '\t \$ ' in order to document the time required to do this. Everything was typed by hand and done from memory except a short alt-tab to nvALT to ensure proper numbering for curl'ing the patches.
- md src
- curl -OL http://ftpmirror.gnu.org/bash/bash-4.2.tar.gz
- tar xzf bash-4.2.tar.gz
- cd bash-4.2
- md patches
- curl -L "http://mirror.anl.gov/pub/gnu/bash/bash-4.2-patches/bash42-0[01-45]" -o "bash42-0#1"
- cd ..
- for patchfile in ./patches/*; do patch -p0 <"$patchfile"; done
- make -j4
- sudo make install
To wrap up simply edit /etc/shells like in my previous post and chsh -s on your user.