Different bash prompt for different vi editing mode?
Asked 2009-06-24T17:13:09.540
127
When using vi mode (set -o vi) with Bash, it would be nice to have a prompt that depends on the mode you are currently in (insert or command). How does one find out this editing mode?