Fixes for issues #5 and #6

Here are fixes for issues #5 and #6 and also a HISTTIMEFORMAT issue noticed by sfr.

---

The following changes since commit 11680695437df3e0f7ee419db681a6d61452e753:

  Merge pull request #2 from mikey/master (2013-02-13 06:37:32 -0800)

are available in the git repository at:


  https://github.com/mikey/undistract-me master

for you to fetch changes up to 2f1ebd1f107a807800cb8753630bfe058940cc05:

  Fix setting exit code when there is no user defined PROMPT_COMMAND (2013-03-21 15:20:35 +1100)

----------------------------------------------------------------
Michael Neuling (6):
      Fix speed issues for bash subshells     Fixes issue #5 https://github.com/jml/undistract-me/issues/5
      New function to log the exit code.
      Log the exit code of a command that is run
      Use exit code of command exited to change notification.
      export __preexec_exit_status status so custom commands can use it also
      Fix setting exit code when there is no user defined PROMPT_COMMAND

Stephen Rothwell (1):
      remove the effect of HISTTIMEFORMAT on the command name

 long-running.bash |   11 +++++++++--
 preexec.bash      |   22 +++++++++-------------
 2 files changed, 18 insertions(+), 15 deletions(-)