Greg Wooledge wrote: > Are you perhaps pressing Ctrl-V Tab? Or have you done funny things with > readline bindings? Or are you editing .bash_history with a text editor > and then re-invoking bash in order to artificially insert a command > with literal tabs into the shell's history buffer? --- Actually I think I just hit ESC-v and re-edited the text that way. Thinking about it -- if I am doing a 'one-liner in the shell, I often don't use indentation and sometimes semi's instead of LF's. But when I put the whole thing up on a screen because my one-liner didn't work, I'll usually indent it to make it clear.
Then I just exit -- no artificial insertions or reinvoking bash..