Change editor to GNU Readline. Make variables persist through lines in the editor.