I'm trying to get a history function for the read -e command in bash. I tried set -o history, but the results shocked me. I've been able to set up macros in the read -e command, but it seems all the variables that effect history effect the shells history function rather than a history funtion for the read -e command. read -e is readline, so how do I get history set up for it?