Unset PROMPT_COMMAND rather than blanking it
Use PROMPT_DIRTRIM if available
Don't limit history if using Bash >=4.3

<http://wiki.bash-hackers.org/scripting/bashchanges>
Safeguards to bail if Bash is just too old
Technical correction about version history
Elaborate on versioning policy