Is there a way of color-highlighting paired brackets in shell (bash)?

view full story

http://unix.stackexchange.com – Does anyone know if there is a way reproducing the same behaviour many text editors provide for colour-highlighting the syntax operators such as brackets or curly brackets. It would be very useful for complex one-liners in the terminal. Example of the functionality I am talking about (from VIM). (HowTos)