Rewrote the example for bash history with the --bash option.