Update bash_prompt script to consider detached HEAD state
Add .inputrc with vi mode